Changes from branches/2.7/wp-includes/widgets.php at r10315 to trunk/wp-includes/widgets.php at r10150
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/widgets.php
r10315 r10150 549 549 global $wp_registered_widgets, $wp_registered_sidebars; 550 550 551 $sidebars_widgets = get_option('sidebars_widgets' , array());551 $sidebars_widgets = get_option('sidebars_widgets'); 552 552 $_sidebars_widgets = array(); 553 553 … … 619 619 } 620 620 621 if ( isset($sidebars_widgets['array_version']) ) 622 unset($sidebars_widgets['array_version']); 621 unset($sidebars_widgets['array_version']); 623 622 624 623 $sidebars_widgets = apply_filters('sidebars_widgets', $sidebars_widgets); … … 1400 1399 <ul id="recentcomments"><?php 1401 1400 if ( $comments ) : foreach ( (array) $comments as $comment) : 1402 echo '<li class="recentcomments">' . sprintf(__('%1$s on %2$s'), get_comment_author_link(), '<a href="' . clean_url( get_comment_link($comment->comment_ID)) . '">' . get_the_title($comment->comment_post_ID) . '</a>') . '</li>';1401 echo '<li class="recentcomments">' . sprintf(__('%1$s on %2$s'), get_comment_author_link(), '<a href="'. get_comment_link($comment->comment_ID) . '">' . get_the_title($comment->comment_post_ID) . '</a>') . '</li>'; 1403 1402 endforeach; endif;?></ul> 1404 1403 <?php echo $after_widget; ?> … … 2094 2093 2095 2094 // This is important 2096 add_action( 'widgets_init', 'widget_many_register' ) ;2095 add_action( 'widgets_init', 'widget_many_register' ) 2097 2096 2098 2097 */
Note: See TracChangeset
for help on using the changeset viewer.