From d8d04c84b29fefdbb551f075edb99c2353628a5b 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: https://develop.svn.wordpress.org/trunk@24186 602fd350-edb4-49c9-b593-d223f7449a82 --- 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; } /**