[wp-trac] [WordPress Trac] #19373: wp_insert_post() should not contain current_user_can() checks

WordPress Trac noreply at wordpress.org
Wed Sep 25 23:02:18 UTC 2013


#19373: wp_insert_post() should not contain current_user_can() checks
---------------------------------+-----------------------------
 Reporter:  alexkingorg          |       Owner:
     Type:  enhancement          |      Status:  new
 Priority:  normal               |   Milestone:  Future Release
Component:  Taxonomy             |     Version:  3.0
 Severity:  major                |  Resolution:
 Keywords:  has-patch 3.8-early  |
---------------------------------+-----------------------------

Comment (by nacin):

 How far should `! $sanitize` go? Should wp_insert_post_empty_content also
 be false and the empty_content WP_Error be skipped?

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


More information about the wp-trac mailing list