Timeline for Add validation and error handling when saving custom fields?
Current License: CC BY-SA 2.5
18 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 30, 2018 at 0:01 | history | tweeted | twitter.com/StackWordPress/status/1023720321545891840 | ||
| Jul 29, 2018 at 21:54 | answer | added | Lucas Bustamante | timeline score: 6 | |
| Dec 5, 2012 at 16:19 | comment | added | MathSmath | @AndrewOdri Yeah, I guess that would work too. So long as you don't need the error info later (to highlight things in the form, or whatever). Good eye! | |
| Nov 30, 2012 at 22:55 | comment | added | Andrew Odri | I might be missing something obvious, but would it be slightly more efficient to run update_option('my_admin_errors', false); immediately after the if statement at the end of wpse_5102_admin_notice_handler()? | |
| Nov 19, 2012 at 10:00 | answer | added | sanchothefat | timeline score: 1 | |
| Nov 12, 2012 at 5:34 | history | protected | CommunityBot | ||
| Sep 15, 2012 at 21:55 | answer | added | Josh Coady | timeline score: 6 | |
| Sep 8, 2011 at 16:57 | answer | added | jlub | timeline score: 1 | |
| Jun 14, 2011 at 10:36 | answer | added | davidn | timeline score: 6 | |
| May 27, 2011 at 4:38 | comment | added | MathSmath | @Karen This would be in a custom plugin file, or in your functions.php. | |
| May 26, 2011 at 23:25 | comment | added | user5721 | I have a basic question. What Wordpress php file is this in? | |
| May 3, 2011 at 6:58 | comment | added | Geert | How are you dealing with repopulating the form fields (with the possible invalid data)? | |
| May 3, 2011 at 6:54 | comment | added | Geert | Good question. I think you could get rid of the admin_footer hook if you clear out the errors at the end of your notice handler function. Simplifies things just a bit. | |
| Dec 10, 2010 at 16:34 | vote | accept | MathSmath | ||
| Dec 10, 2010 at 8:10 | answer | added | Horttcore | timeline score: 1 | |
| Dec 10, 2010 at 0:25 | history | edited | MathSmath | CC BY-SA 2.5 | added 1766 characters in body |
| Dec 9, 2010 at 22:02 | answer | added | Denis de Bernardy | timeline score: 7 | |
| Dec 9, 2010 at 21:57 | history | asked | MathSmath | CC BY-SA 2.5 |