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