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

WordPress Trac wp-trac at lists.automattic.com
Sun Nov 27 17:22:50 UTC 2011


#19373: wp_insert_post() should not contain current_user_can() checks
--------------------------+------------------------------
 Reporter:  alexkingorg   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Taxonomy      |     Version:  3.3
 Severity:  major         |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by scribu):

 Well, actually, wp_insert_post() also takes care of sanitization, which
 checks the 'unfiltered_html' capability.

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


More information about the wp-trac mailing list