[wp-trac] [WordPress Trac] #23792: Disallow moving of locked posts to the trash

WordPress Trac noreply at wordpress.org
Mon Mar 18 06:04:08 UTC 2013


#23792: Disallow moving of locked posts to the trash
--------------------------------------+--------------------
 Reporter:  azaozz                    |       Owner:
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  3.6
Component:  Administration            |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  needs-patch dev-feedback  |
--------------------------------------+--------------------
Changes (by pdclark):

 * keywords:  needs-patch => needs-patch dev-feedback


Comment:

 I've attached and tested a
 [http://core.trac.wordpress.org/attachment/ticket/23792/23792-bulk-
 edit.diff patch for bulk-edit.php].

 I left code out for
 [https://github.com/search?q=%22wp_ajax_trash_post%22+repo%3Awordpress%2Fwordpress&type=Code&ref=searchresults
 wp_ajax_trash_posts()] because I don't see it called or hooked anywhere,
 so I'm unsure how to test that output is correct. Do you know where it is
 used, @azaozz ?

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


More information about the wp-trac mailing list