Disallow moving of locked posts to the trash
|Reported by:||azaozz||Owned by:|
Currently we don't check post locks when bulk moving posts to the trash on the All Posts screen and in wp_ajax_trash_post(). A post locked check was added when moving to the trash from the New/Edit Post screen in http://core.trac.wordpress.org/changeset/23661#file5.
The new UI on the All Posts screen prevents selecting a locked post for bulk actions, but we still should make sure a post is not locked right before moving it to the trash.
Change History (10)
- Keywords needs-patch added
- Milestone changed from Awaiting Review to 3.6
- Version set to trunk