[wp-trac] [WordPress Trac] #16379: Better UI for doing "Page on Front"
WordPress Trac
wp-trac at lists.automattic.com
Thu Oct 4 14:09:56 UTC 2012
#16379: Better UI for doing "Page on Front"
----------------------------------+------------------
Reporter: markjaquith | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: 3.5
Component: Administration | Version: 3.1
Severity: normal | Resolution:
Keywords: jane-likes has-patch |
----------------------------------+------------------
Comment (by ryan):
User get_current_screen() instead of the $current_screen global. There is
no need to esc_html( stripslashes() ) the data going to
wp_insert/update_post(). They expect slashed data and will handle
sanitization.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16379#comment:55>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list