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

WordPress Trac noreply at wordpress.org
Mon Mar 18 06:13:10 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  |
--------------------------------------+--------------------

Comment (by SergeyBiryukov):

 Replying to [comment:2 pdclark]:
 > 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

 `wp_ajax_trash_post()` is called via Plupload and SWFUpload handlers:
 [[BR]]
 http://core.trac.wordpress.org/browser/tags/3.5.1/wp-
 includes/js/plupload/handlers.js#L139 [[BR]]
 http://core.trac.wordpress.org/browser/tags/3.5.1/wp-
 includes/js/swfupload/handlers.js#L95

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


More information about the wp-trac mailing list