Changeset 810766
- Timestamp:
- 11/26/2013 12:35:42 PM (12 years ago)
- File:
-
- 1 edited
-
jetpack/trunk/class.media-extractor.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
jetpack/trunk/class.media-extractor.php
r806171 r810766 207 207 208 208 // Build a simple form of the URL so we can compare it to ones we found in IMAGES or SHORTCODES and exclude those 209 $simple_url = $url['scheme'] . '://' . $url['host'] . $url['path'];209 $simple_url = $url['scheme'] . '://' . $url['host'] . ( isset( $url['path'] ) ? $url['path'] : '' ); 210 210 if ( isset( $extracted['image']['url'] ) ) { 211 211 if ( in_array( $simple_url, (array) $extracted['image']['url'] ) )
Note: See TracChangeset
for help on using the changeset viewer.