Changeset 10070
- Timestamp:
- 12/05/2008 07:19:24 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
-
wp-admin/includes/template.php (modified) (1 diff)
-
wp-includes/classes.php (modified) (1 diff)
-
wp-includes/post-template.php (modified) (1 diff)
-
wp-includes/post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r10069 r10070 1051 1051 if ( $bulk ) 1052 1052 $dropdown_args['show_option_no_change'] = __('- No Change -'); 1053 wp_dropdown_pages($dropdown_args); 1053 1054 ?> 1054 <?php wp_dropdown_pages($dropdown_args); ?>1055 1055 </label> 1056 1056 -
trunk/wp-includes/classes.php
r10013 r10070 1234 1234 $pad = str_repeat(' ', $depth * 3); 1235 1235 1236 $output .= "\t<option value=\"$page->ID\"";1236 $output .= "\t<option class=\"level-$depth\" value=\"$page->ID\""; 1237 1237 if ( $page->ID == $args['selected'] ) 1238 1238 $output .= ' selected="selected"'; -
trunk/wp-includes/post-template.php
r10069 r10070 566 566 567 567 if ( ! empty($pages) ) { 568 $output = "<select name= '$name' id='$name'>\n";568 $output = "<select name=\"$name\" id=\"$name\">\n"; 569 569 if ( $show_option_no_change ) 570 $output .= "\t<option value= '-1'>$show_option_no_change</option>";570 $output .= "\t<option value=\"-1\">$show_option_no_change</option>"; 571 571 if ( $show_option_none ) 572 $output .= "\t<option value= '$option_none_value'>$show_option_none</option>\n";572 $output .= "\t<option value=\"$option_none_value\">$show_option_none</option>\n"; 573 573 $output .= walk_page_dropdown_tree($pages, $depth, $r); 574 574 $output .= "</select>\n"; -
trunk/wp-includes/post.php
r9906 r10070 2066 2066 extract( $r, EXTR_SKIP ); 2067 2067 2068 $key = md5( serialize( $r) );2068 $key = md5( serialize( compact(array_keys($defaults)) ) ); 2069 2069 if ( $cache = wp_cache_get( 'get_pages', 'posts' ) ) { 2070 2070 if ( isset( $cache[ $key ] ) ) {
Note: See TracChangeset
for help on using the changeset viewer.