Eliminate use of extract() in get_media_item().

To test, fire open the old media in the console: `tb_show('Old Media is Weird', 'media-upload.php?type=image&TB_iframe=true&post_id=0');`	
	
See #22400.


git-svn-id: https://develop.svn.wordpress.org/trunk@28407 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor
2014-05-15 02:45:01 +00:00
parent e0ddd2ebf0
commit 27ff2a1cd0
2 changed files with 24 additions and 15 deletions
+1 -1
View File
@@ -241,7 +241,7 @@ function wp_list_bookmarks( $args = '' ) {
}
}
if ( $categorize ) {
if ( $r['categorize'] ) {
// Split the bookmarks into ul's for each category
foreach ( (array) $cats as $cat ) {
$params = array_merge( $r, array( 'category' => $cat->term_id ) );