[wp-trac] [WordPress Trac] #22417: _wp_translate_postdata() should use current_user_can( $ptype->cap->edit_post, $post_id )

WordPress Trac noreply at wordpress.org
Wed Nov 21 15:35:56 UTC 2012


#22417: _wp_translate_postdata() should use current_user_can(
$ptype->cap->edit_post, $post_id )
-----------------------------+-----------------------
 Reporter:  danielbachhuber  |       Owner:  westi
     Type:  defect (bug)     |      Status:  assigned
 Priority:  normal           |   Milestone:  3.5
Component:  Role/Capability  |     Version:
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+-----------------------

Comment (by westi):

 That patch shows that my tests are broken too, need to update them to
 create real posts for the update = true tests ;)

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


More information about the wp-trac mailing list