Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter kg

    (@kgg)

    No response, so…

    in the file…

    \wp-content\plugins\w3-total-cache\lib\W3\Plugin\Cdn.php

    in the function link_replace_callback() underneath the comment… “Check URL for rejected files”

    and after the foreach block, I added…

    if (preg_match(‘/’ .
    ‘textinpathtoexclude’
    . ‘/i’, $path)) {
    return $match;
    }

    Which solved my issue. I dont want to be hacky like this, but no response on this in 12 hours forces my to dive in. Additionally, there are no filters in the function link_replace_callback() which would have been useful to avoid plugin file modification.

    Hope this helps.
    kg

    Plugin Contributor Frederick Townes

    (@fredericktownes)

    This is already fixed in the next release sorry. Also wp-contents/uploads/fbConnect* is correct.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: W3 Total Cache] Rejected files not rejecting’ is closed to new replies.