No need for a pass-by-reference here. props sunnyratilal, fixes #24433.
git-svn-id: https://develop.svn.wordpress.org/trunk@24376 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
80e11fd681
commit
51731fc3eb
@ -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
Block a user