diff --git wp-includes/media.php wp-includes/media.php
index f41f63e..c02e59c 100644
|
|
function get_the_image( $attached_size = 'full', &$post = null ) { |
2386 | 2386 | |
2387 | 2387 | $count = 1; |
2388 | 2388 | $matches = array(); |
2389 | | $content =& $post->post_content; |
| 2389 | $_content = $post->post_content; |
| 2390 | $content =& $_content; |
2390 | 2391 | |
2391 | 2392 | if ( preg_match_all( '/' . get_shortcode_regex() . '/s', $content, $matches, PREG_SET_ORDER ) && ! empty( $matches ) ) { |
2392 | 2393 | foreach ( $matches as $shortcode ) { |
… |
… |
function get_the_image( $attached_size = 'full', &$post = null ) { |
2415 | 2416 | return $post->format_content; |
2416 | 2417 | } |
2417 | 2418 | |
2418 | | $content =& $post->post_content; |
| 2419 | $_content = $post->post_content; |
| 2420 | $content =& $_content; |
2419 | 2421 | $htmls = get_content_images( $content, true, true, 1 ); |
2420 | 2422 | if ( ! empty( $htmls ) ) { |
2421 | 2423 | $html = reset( $htmls ); |