Changes between Initial Version and Version 1 of Ticket #35045, comment 8
- Timestamp:
- 12/14/2015 01:39:53 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #35045, comment 8
initial v1 5 5 }}} 6 6 7 as `$image_meta['file']` already contains the year/month sub-dirs. If we want to keep it, the first block should be moved right under `$base_url = trailingslashit( _wp_upload_dir_baseurl() );` .7 as `$image_meta['file']` already contains the year/month sub-dirs. If we want to keep it, the first block should be moved right under `$base_url = trailingslashit( _wp_upload_dir_baseurl() );` and change $base_url. 8 8 9 9 On the other hand we only use these for comparison. Would be better to just strip `https?:` from both.