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

WordPress Trac noreply at wordpress.org
Wed Sep 25 01:55:47 UTC 2013


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

Comment (by nacin):

 [attachment:19373.diff] is what I'm proposing. Largely untested. Probably
 requires unit tests to be updated. If there is a good reason to avoid
 sanitize_post() entirely, please make your case.

 If there is anything short of immediate consensus, it will be well worth
 waiting until 3.8 to make sure we get this right.

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


More information about the wp-trac mailing list