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; } /**