No need for a pass-by-reference here. props sunnyratilal, fixes #24433.

git-svn-id: http://core.svn.wordpress.org/trunk@24376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2013-05-27 15:47:46 +00:00
parent 61668d18de
commit c5033c96f5
1 changed files with 1 additions and 1 deletions

View File

@ -2054,7 +2054,7 @@ function get_the_post_format_media( $type, &$post = null, $limit = 0 ) {
global $wp_embed; global $wp_embed;
if ( empty( $post ) ) if ( empty( $post ) )
$post =& get_post(); $post = get_post();
if ( empty( $post ) ) if ( empty( $post ) )
return ''; return '';