From c5033c96f57c3606000a49eed36dd72f0c5d374d Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Mon, 27 May 2013 15:47:46 +0000 Subject: [PATCH] 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 --- wp-includes/media.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/media.php b/wp-includes/media.php index 269f3bb147..2719090b3f 100644 --- a/wp-includes/media.php +++ b/wp-includes/media.php @@ -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 '';