Plugin Directory

Changeset 1502843


Ignore:
Timestamp:
09/26/2016 02:15:12 PM (10 years ago)
Author:
mangeshp
Message:

Update readme and upload folder issue

File:
1 edited

Legend:

Unmodified
Added
Removed
  • buddypress-media/tags/4.1.6/app/main/controllers/template/rtmedia-filters.php

    r1502787 r1502843  
    459459
    460460        $baseurl       = $uploads['baseurl'];
    461         $search        = '/^(http|https)(.*)([wp\-content])(\/)/i';
     461        $search        = '/^(http|https)(.*)([wp\-content])(\/)(uploads\/)/i';
    462462        $replace       = $baseurl . '/';
    463463        $thumbnail_url = preg_replace( $search, $replace, $thumbnail_id );
Note: See TracChangeset for help on using the changeset viewer.