Changeset 54891 for trunk/src/wp-includes/class-wp-oembed.php
- Timestamp:
- 11/29/2022 03:49:49 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-oembed.php
r54754 r54891 640 640 } 641 641 642 $dom = new DOMDocument ;642 $dom = new DOMDocument(); 643 643 $success = $dom->loadXML( $response_body ); 644 644 if ( ! $success ) { … … 661 661 } 662 662 663 $return = new stdClass ;663 $return = new stdClass(); 664 664 foreach ( $xml as $key => $value ) { 665 665 $return->$key = (string) $value;
Note: See TracChangeset
for help on using the changeset viewer.