Changeset 3852 for trunk/wp-includes/post-template.php
- Timestamp:
- 06/07/2006 11:27:25 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post-template.php
r3851 r3852 229 229 230 230 $defaults = array('depth' => 0, 'child_of' => 0, 'selected' => 0, 'echo' => 1, 231 'name' => 'page_id' );231 'name' => 'page_id', 'show_option_none' => ''); 232 232 $r = array_merge($defaults, $r); 233 233 extract($r); … … 238 238 if ( ! empty($pages) ) { 239 239 $output = "<select name='$name'>\n"; 240 if ( $show_option_none ) 241 $output .= "\t<option value=''>$show_option_none</option>\n"; 240 242 $output .= walk_page_dropdown_tree($pages, $depth, $r); 241 243 $output .= "</select>\n";
Note: See TracChangeset
for help on using the changeset viewer.