[wp-trac] [WordPress Trac] #38271: `wp-remove-post-lock` Ajax request generates notice in `wp_ajax_wp_remove_post_lock()`
WordPress Trac
noreply at wordpress.org
Mon Oct 10 13:00:11 UTC 2016
#38271: `wp-remove-post-lock` Ajax request generates notice in
`wp_ajax_wp_remove_post_lock()`
--------------------------+-----------------------------------------
Reporter: dlh | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses: javascript, administration
--------------------------+-----------------------------------------
Comment (by adamsilverstein):
@dlh thanks for the patch! This looks reasonable, I tested before and
after, verified the error you mentioned and see it is solved by the patch.
I am attaching a slightly updated version switching to a Yoda conditional.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38271#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list