Changeset 1502843
- Timestamp:
- 09/26/2016 02:15:12 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
buddypress-media/tags/4.1.6/app/main/controllers/template/rtmedia-filters.php
r1502787 r1502843 459 459 460 460 $baseurl = $uploads['baseurl']; 461 $search = '/^(http|https)(.*)([wp\-content])(\/) /i';461 $search = '/^(http|https)(.*)([wp\-content])(\/)(uploads\/)/i'; 462 462 $replace = $baseurl . '/'; 463 463 $thumbnail_url = preg_replace( $search, $replace, $thumbnail_id );
Note: See TracChangeset
for help on using the changeset viewer.