Changeset 12193 for trunk/wp-includes/default-widgets.php
- Timestamp:
- 11/16/2009 10:42:58 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/default-widgets.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/default-widgets.php
r11794 r12193 733 733 wp_widget_rss_output( $rss, $instance ); 734 734 echo $after_widget; 735 $rss->__destruct(); 736 unset($rss); 735 737 } 736 738 … … 771 773 if ( is_admin() || current_user_can('manage_options') ) 772 774 echo '<p>' . sprintf( __('<strong>RSS Error</strong>: %s'), $rss->get_error_message() ) . '</p>'; 773 775 $rss->__destruct(); 776 unset($rss); 774 777 return; 775 778 } … … 788 791 if ( !$rss->get_item_quantity() ) { 789 792 echo '<ul><li>' . __( 'An error has occurred; the feed is probably down. Try again later.' ) . '</li></ul>'; 793 $rss->__destruct(); 794 unset($rss); 790 795 return; 791 796 } … … 839 844 } 840 845 echo '</ul>'; 846 $rss->__destruct(); 847 unset($rss); 841 848 } 842 849 … … 948 955 $link = substr($link, 1); 949 956 } 957 $rss->__destruct(); 958 unset($rss); 950 959 } 951 960
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)