Media/Library menu URLs mismatch
-
Not sure if this is a bug or by design… with “Display Media/Library” unchecked in MLA’s General Settings, the “Media” menu link leads to /wp-admin/admin.php?page=mla-menu while the submenu link leads to /wp-admin/upload.php?page=mla-menu
This causes a minor issue with WP Document Revisions, which is designed to filter out Document post type attachments from displaying in the Media Library by testing for “upload.php” or “media-upload.php” in the URL.
MLA’s “Media” menu link (“admin.php”) therefore returns an unfiltered Media Library view containing Document post type attachments, while MLA’s submenu link (“upload.php”) returns a correctly filtered Media Library view.
As a workaround I’ve used JavaScript to replace “admin.php” with “upload.php” for MLA’s “Media” menu link.
If you could consider using /wp-admin/upload.php?page=mla-menu for both menu links I’d be grateful – thanks for an excellent plugin.
- The topic ‘Media/Library menu URLs mismatch’ is closed to new replies.