[wp-trac] [WordPress Trac] #16379: Better UI for doing "Page on Front"

WordPress Trac wp-trac at lists.automattic.com
Fri Oct 5 18:50:06 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):

 Replying to [comment:57 SergeyBiryukov]:
 > Replying to [comment:55 ryan]:
 > > There is no need to esc_html( stripslashes() ) the data going to
 wp_insert/update_post().
 >
 > That was copied from `get_default_post_to_edit()`: [[BR]]
 > http://core.trac.wordpress.org/browser/tags/3.4.2/wp-
 admin/includes/post.php#L408

 But that's for prepping a post for display in the editor.
 _create_pages_for_reading_settings() is going straight to
 wp_update/insert_post().

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16379#comment:58>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list