Changeset 24186
- Timestamp:
- 05/07/2013 03:35:34 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/deprecated.php
r24128 r24186 1088 1088 function links_popup_script($text = 'Links', $width=400, $height=400, $file='links.all.php', $count = true) { 1089 1089 _deprecated_function( __FUNCTION__, '2.1' ); 1090 1091 if ( $count )1092 $counts = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->links");1093 1094 $javascript = "<a href=\"#\" onclick=\"javascript:window.open('$file?popup=1', '_blank', 'width=$width,height=$height,scrollbars=yes,status=no'); return false\">";1095 $javascript .= $text;1096 1097 if ( $count )1098 $javascript .= " ($counts)";1099 1100 $javascript .= "</a>\n\n";1101 echo $javascript;1102 1090 } 1103 1091
Note: See TracChangeset
for help on using the changeset viewer.