Also finding out that “Edit” doesn’t work from the Media Library while the plugin is active as well.
Hi, I’m not sure if this is related, or a new error. But I’m getting a 500 error from the AJAX post when I try to open the Media Library. Especially a problem if I navigate to Media Library, and refresh (just to make sure the browser hasn’t cached anything). When I switch the dropdown for “Type” to “Images”, then it works, but using “All Media Types” does not work. This is all from the isolated wp-admin area.
This is only in “grid” view, whereas the list view works okay.
I tried commenting out all the code and that makes no difference at all. Only deactivating the plugin fixes the issue, and reactivating causes it to break again.
I have a little more detail below, but not sure if this will help. This is basically on a vanilla WordPress 4.2.2 installation, this is the only plugin installed.
The ajax request is:
/wp-admin/admin-ajax.php
And the form data when it breaks is:
action:query-attachments
post_id:0
query[orderby]:date
query[order]:DESC
query[posts_per_page]:40
query[paged]:1