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

WordPress Trac noreply at wordpress.org
Wed Sep 25 03:10:31 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 MikeSchinkel):

 Replying to [comment:32 nacin]:
 > [attachment:19373.diff] is what I'm proposing.

 Does an explicit `$sanitize` parameter make sense, or instead an `$args`
 parameter so that future unforeseen needs don't require adding yet another
 position parameter?

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


More information about the wp-trac mailing list