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

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 29 01:23:33 UTC 2011


#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:  3.4-early has-patch  |
---------------------------------+-----------------------------
Changes (by scribu):

 * keywords:  3.4-early needs-patch => 3.4-early has-patch


Comment:

 That's pretty neat. Not only can you disable the cap checks, but also
 change which user to check against. +1

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


More information about the wp-trac mailing list