Changeset 47808 for trunk/src/wp-includes/class-wp-oembed.php
- Timestamp:
- 05/16/2020 06:40:52 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-oembed.php
r47550 r47808 488 488 489 489 // Stop here if it's JSON (that's all we need). 490 if ( 'json' == $linktypes[ $atts['type'] ] ) {490 if ( 'json' === $linktypes[ $atts['type'] ] ) { 491 491 break; 492 492 } … … 538 538 foreach ( array( 'json', 'xml' ) as $format ) { 539 539 $result = $this->_fetch_with_format( $provider, $format ); 540 if ( is_wp_error( $result ) && 'not-implemented' == $result->get_error_code() ) {540 if ( is_wp_error( $result ) && 'not-implemented' === $result->get_error_code() ) { 541 541 continue; 542 542 }
Note: See TracChangeset
for help on using the changeset viewer.