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

WordPress Trac wp-trac at lists.automattic.com
Mon Nov 28 16:50:32 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 nacin):

 I have never liked this.

 As scribu points out, kses is also applied, and we also prevent
 contributors from specifying a post slug of a pending post.

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


More information about the wp-trac mailing list