Changeset 12733 for trunk/wp-admin/includes/dashboard.php
- Timestamp:
- 01/15/2010 10:11:12 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/dashboard.php
r12459 r12733 637 637 if ( !$rss->get_item_quantity() ) { 638 638 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"; 639 $rss->__destruct(); 639 $rss->__destruct(); 640 640 unset($rss); 641 641 return; … … 692 692 693 693 echo "</ul>\n"; 694 $rss->__destruct(); 694 $rss->__destruct(); 695 695 unset($rss); 696 696 } … … 749 749 } 750 750 } elseif ( !$rss->get_item_quantity() ) { 751 $rss->__destruct(); 751 $rss->__destruct(); 752 752 unset($rss); 753 753 return false; … … 756 756 wp_widget_rss_output( $rss, $widgets['dashboard_secondary'] ); 757 757 echo '</div>'; 758 $rss->__destruct(); 758 $rss->__destruct(); 759 759 unset($rss); 760 760 } … … 840 840 echo "<h5><a href='$link'>$title</a></h5> <span>(<a href='$ilink' class='thickbox' title='$title'>" . __( 'Install' ) . "</a>)</span>\n"; 841 841 echo "<p>$description</p>\n"; 842 842 843 843 $$feed->__destruct(); 844 844 unset($$feed); … … 939 939 $widget_options[$widget_id]['title'] = htmlentities(__('Unknown Feed')); 940 940 } else { 941 $widget_options[$widget_id]['title'] = htmlentities(strip_tags($rss->get_title())); 941 $widget_options[$widget_id]['title'] = htmlentities(strip_tags($rss->get_title())); 942 942 $rss->__destruct(); 943 unset($rss); 943 unset($rss); 944 944 } 945 945 }
Note: See TracChangeset
for help on using the changeset viewer.