Changeset 6363 for trunk/wp-admin/includes/template.php
- Timestamp:
- 12/06/2007 06:37:30 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r6362 r6363 125 125 126 126 function get_nested_categories( $default = 0, $parent = 0 ) { 127 global $post_ID, $ wpdb, $checked_categories;127 global $post_ID, $checked_categories; 128 128 129 129 if ( empty($checked_categories) ) { … … 227 227 228 228 function page_rows( $parent = 0, $level = 0, $pages = 0, $hierarchy = true ) { 229 global $ wpdb, $class, $post;229 global $class, $post; 230 230 231 231 if (!$pages ) … … 258 258 259 259 <?php 260 if ( $hierarchy ) page_rows( $id, $level + 1, $pages ); 260 if ( $hierarchy ) 261 page_rows( $id, $level + 1, $pages ); 261 262 } 262 263 } … … 323 324 324 325 function _wp_comment_list_item( $id, $alt = 0 ) { 325 global $authordata, $comment , $wpdb;326 global $authordata, $comment; 326 327 $comment =& get_comment( $id ); 327 328 $id = (int) $comment->comment_ID; … … 368 369 369 370 function wp_dropdown_cats( $currentcat = 0, $currentparent = 0, $parent = 0, $level = 0, $categories = 0 ) { 370 global $wpdb;371 371 if (!$categories ) 372 372 $categories = get_categories( 'hide_empty=0' ); … … 441 441 $r .= "\n\t\t<input name='deletemeta[{$entry['meta_id']}]' type='submit' "; 442 442 $r .= "class='delete:the-list:meta-{$entry['meta_id']} deletemeta' tabindex='6' value='".attribute_escape(__( 'Delete' ))."' />"; 443 $r .= "<input type='hidden' name='_ajax_nonce' value='$nonce' />";444 443 $r .= "</td>\n\t</tr>"; 445 444 return $r;
Note: See TracChangeset
for help on using the changeset viewer.