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:
parent
61668d18de
commit
c5033c96f5
|
@ -2054,7 +2054,7 @@ function get_the_post_format_media( $type, &$post = null, $limit = 0 ) {
|
|||
global $wp_embed;
|
||||
|
||||
if ( empty( $post ) )
|
||||
$post =& get_post();
|
||||
$post = get_post();
|
||||
|
||||
if ( empty( $post ) )
|
||||
return '';
|
||||
|
|
Loading…
Reference in New Issue