From 72d6ee62e0dc2df5456dc8cfff793b47bbf7693c Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Tue, 7 May 2013 15:35:34 +0000 Subject: [PATCH] Remove the body of the deprecated links_popup_script() as currently it issues a fatal error. see #24210. git-svn-id: http://core.svn.wordpress.org/trunk@24186 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/deprecated.php | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/wp-includes/deprecated.php b/wp-includes/deprecated.php index a7efb91a13..33a83dbadb 100644 --- a/wp-includes/deprecated.php +++ b/wp-includes/deprecated.php @@ -1087,18 +1087,6 @@ function get_links_list($order = 'name') { */ function links_popup_script($text = 'Links', $width=400, $height=400, $file='links.all.php', $count = true) { _deprecated_function( __FUNCTION__, '2.1' ); - - if ( $count ) - $counts = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->links"); - - $javascript = ""; - $javascript .= $text; - - if ( $count ) - $javascript .= " ($counts)"; - - $javascript .= "\n\n"; - echo $javascript; } /**