Changeset 10810 for trunk/wp-includes/default-widgets.php
- Timestamp:
- 03/18/2009 02:43:45 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/default-widgets.php (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/default-widgets.php
r10809 r10810 1 1 <?php 2 2 3 /** 4 * Default Widgets 3 /** 4 * Default Widgets 5 5 * 6 6 * @package WordPress … … 43 43 } 44 44 } 45 45 46 46 function update( $new_instance, $old_instance ) { 47 47 $instance = $old_instance; … … 57 57 return $instance; 58 58 } 59 59 60 60 function form( $instance ) { 61 61 //Defaults … … 103 103 $show_rating = isset($instance['rating']) ? $instance['rating'] : false; 104 104 $show_images = isset($instance['images']) ? $instance['images'] : true; 105 105 106 106 $before_widget = preg_replace('/id="[^"]*"/','id="%id"', $before_widget); 107 107 wp_list_bookmarks(apply_filters('widget_links_args', array( … … 113 113 ))); 114 114 } 115 115 116 116 function update( $new_instance, $old_instance ) { 117 117 $new_instance = (array) $new_instance; … … 121 121 $instance[$field] = 1; 122 122 } 123 123 124 124 return $instance; 125 125 } 126 126 127 127 function form( $instance ) { 128 128 … … 163 163 get_search_form(); 164 164 165 echo $after_widget; 165 echo $after_widget; 166 166 } 167 167 } … … 233 233 * 234 234 * Displays log in/out, RSS feed links, etc. 235 * 235 * 236 236 * @since 2.8.0 237 237 */ … … 415 415 } 416 416 417 echo $after_widget; 418 } 419 417 echo $after_widget; 418 } 419 420 420 function update( $new_instance, $old_instance ) { 421 421 $instance = $old_instance; … … 427 427 return $instance; 428 428 } 429 429 430 430 function form( $instance ) { 431 431 //Defaults
Note: See TracChangeset
for help on using the changeset viewer.