Changeset 31416
- Timestamp:
- 02/11/2015 07:14:09 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-oembed.php
r31415 r31416 569 569 $token = '__PRE__'; 570 570 $replace = array(); 571 $count = 1; 572 571 573 $dom = new DOMDocument(); 572 574 $dom->loadHTML( $html ); … … 576 578 $tag_token = $token . $i; 577 579 $replace[ $tag_token ] = $tag_html; 578 $html = str_replace( $tag_html, $tag_token, $html ); 580 581 $html = str_replace( $tag_html, $tag_token, $html, $count ); 579 582 } 580 583 $pre = array_values( $replace );
Note: See TracChangeset
for help on using the changeset viewer.