Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #35045, comment 8


Ignore:
Timestamp:
12/14/2015 01:39:53 AM (9 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35045, comment 8

    initial v1  
    55}}}
    66
    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() );`.
     7as `$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.
    88
    99On the other hand we only use these for comparison. Would be better to just strip `https?:` from both.