[resolved] 3.5 Media Library Shows all Images - Prev. Able to Hide (2 posts)

  1. jimii
    Posted 2 years ago #

    3.5 has great new feartures and functionality. Previously however I could limit visibility to the media library with a filtered user function: (similar post but diff)
    function remove_medialibrary_tab($tabs) {
    if ( !current_user_can( 'update_core' ) ) {
    return $tabs; } }

    With this users could only view their own image uploads to the particular post or page.

    New 3.5 allows full visibility to all users - unrestricted or without control and I cannot find a source code to try and edit (likely beyond my skill anyway - but at least i could stare at the troublesome code characters).

    I've surfed the web, forums and blogs without success and tried diff code options. Any help or guidance appreciated.

    If i should post elsewhere or submit a solution option for consideration in next iteration - glad to. thank you : ) If this isnt going to be editable for awhile or ever I'd just like to know to to consider a roll back to 3.42 or to adjust otherwise....

  2. jimii
    Posted 2 years ago #

    I believe I have resolved this through use a role scoping plugin. It didnt appear to work as needed at first. (Luckily enough I took a second look at the plugin because I found a post from someone complaining that - the plugin did - exactly as i wished it to do. (hide unrelated images in the media library) : ).

Topic Closed

This topic has been closed to new replies.

About this Topic