Changeset 39612 for trunk/src/wp-includes/media.php
- Timestamp:
- 12/16/2016 06:20:40 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media.php
r39396 r39612 3064 3064 3065 3065 $attachment_url = wp_get_attachment_url( $attachment->ID ); 3066 $base_url = str_replace( wp_basename( $attachment_url ), '', $attachment_url ); 3066 3067 3067 3068 $response = array( … … 3171 3172 ); 3172 3173 } elseif ( isset( $meta['sizes'][ $size ] ) ) { 3173 if ( ! isset( $base_url ) )3174 $base_url = str_replace( wp_basename( $attachment_url ), '', $attachment_url );3175 3176 3174 // Nothing from the filter, so consult image metadata if we have it. 3177 3175 $size_meta = $meta['sizes'][ $size ];
Note: See TracChangeset
for help on using the changeset viewer.