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:
Andrew Nacin 2013-05-27 15:47:46 +00:00
parent 80e11fd681
commit 51731fc3eb
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;
if ( empty( $post ) )
$post =& get_post();
$post = get_post();
if ( empty( $post ) )
return '';