404 on all pages
-
Hello,
When the setting “Restrict Media Library Access” is enabled, all URLs in front are redirected to the 404 page for any logged-in users with a role different than administrator and who are not the author of the post.
If I understand well this setting, it should be applied only to attachements in the Media admin menu, not all post types (particularly in front-office) ?
If so, it seems to me that the function hide_posts_media_by_other should test the current post type and/or the $pagenow variable before adding the author in the query.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘404 on all pages’ is closed to new replies.