• Resolved Matt

    (@syntax53)


    Need to add “sites” to–

    $wpmc_exclude_dir = array( “.”, “..”, “wpmc-trash”, “.htaccess”, “ptetmp”, “profiles”, “sites” );

    in wp-media-cleaner.php. Or if you wanted to get technical, add a “if multisite” to it. Without it, when doing a scan on the root site it will scan subsite’s filesystem.

    https://wordpress.org/plugins/wp-media-cleaner/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Where in the file is it to be added, please, and does it require more code. It would not work on my multisite as is.

    Thread Starter Matt

    (@syntax53)

    Line 383 in wp-media-cleaner.php. If you search for “$wpmc_exclude_dir” it’s the first match.

    $wpmc_exclude_dir = array( ".", "..", "wpmc-trash", ".htaccess", "ptetmp", "profiles", "sites" );

    Plugin Author Jordy Meow

    (@tigroumeow)

    I added in for the next release 🙂

    Many thanks!

    It works in multisite blogs, media are done for eacht blog.
    But the issue’s 400 don’t show up in the list! When I click refresh they are gone, when I click issue’s they are gone also. Thumbs also.

    Where do they go?

    When I start looking under Media, the cleaner is lost also. Does it mean we have to do the list right away?
    Is het not possible to keep the list of issue’s for some time?

    Using twentyfifteen theme with a child in multiwordpress

    Adding. The above was when activating for the network. When only activating for one blog, and pressing issues, it works!

    But when leaving the page, will they be gone?

    Looks to work perfect whith multisite activating for ONE blog!

    Thanks!!!!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Scanning sites folder on multisite’ is closed to new replies.