• Resolved jimii

    (@jimii)


    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’ ) ) {
    unset($tabs[‘library’]);
    return $tabs; } }
    add_filter(‘media_upload_tabs’,’remove_medialibrary_tab’);

    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….

Viewing 1 replies (of 1 total)
  • Thread Starter jimii

    (@jimii)

    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) : ).

Viewing 1 replies (of 1 total)
  • The topic ‘3.5 Media Library Shows all Images – Prev. Able to Hide’ is closed to new replies.