Changeset 2315242
- Timestamp:
- 05/31/2020 06:56:57 AM (6 years ago)
- File:
-
- 1 edited
-
image4io/trunk/inc/Manager/MediaManager.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
image4io/trunk/inc/Manager/MediaManager.php
r2315019 r2315242 373 373 //$full_path = wp_get_original_image_url($attachment_id); 374 374 $full_path=wp_get_attachment_image_src($attachment_id,"attached-image")[0]; 375 376 if(preg_match('#^.*?/(https?://.*)#', $full_path, $matches)){ 377 $full_path=$matches[1]; 378 } 375 379 376 380 if (empty($full_path)) {
Note: See TracChangeset
for help on using the changeset viewer.