Changeset 12193 for trunk/wp-admin/includes/dashboard.php
- Timestamp:
- 11/16/2009 10:42:58 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/dashboard.php
r12162 r12193 625 625 echo '</p>'; 626 626 } 627 $rss->__destruct(); 628 unset($rss); 627 629 return; 628 630 } … … 630 632 if ( !$rss->get_item_quantity() ) { 631 633 echo '<p>' . __('This dashboard widget queries <a href="http://blogsearch.google.com/">Google Blog Search</a> so that when another blog links to your site it will show up here. It has found no incoming links… yet. It’s okay — there is no rush.') . "</p>\n"; 634 $rss->__destruct(); 635 unset($rss); 632 636 return; 633 637 } … … 683 687 684 688 echo "</ul>\n"; 685 689 $rss->__destruct(); 690 unset($rss); 686 691 } 687 692 … … 738 743 echo '</p></div>'; 739 744 } 745 $rss->__destruct(); 746 unset($rss); 740 747 } elseif ( !$rss->get_item_quantity() ) { 748 $rss->__destruct(); 749 unset($rss); 741 750 return false; 742 751 } else { … … 744 753 wp_widget_rss_output( $rss, $widgets['dashboard_secondary'] ); 745 754 echo '</div>'; 755 $rss->__destruct(); 756 unset($rss); 746 757 } 747 758 } … … 826 837 echo "<h5><a href='$link'>$title</a></h5> <span>(<a href='$ilink' class='thickbox' title='$title'>" . __( 'Install' ) . "</a>)</span>\n"; 827 838 echo "<p>$description</p>\n"; 839 840 $$feed->__destruct(); 841 unset($$feed); 828 842 } 829 843 } … … 923 937 else 924 938 $widget_options[$widget_id]['title'] = htmlentities(__('Unknown Feed')); 939 $rss->__destruct(); 940 unset($rss); 925 941 } 926 942 update_option( 'dashboard_widget_options', $widget_options );
Note: See TracChangeset
for help on using the changeset viewer.