Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@12733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -636,7 +636,7 @@ function wp_dashboard_incoming_links_output() {
|
||||
|
||||
if ( !$rss->get_item_quantity() ) {
|
||||
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";
|
||||
$rss->__destruct();
|
||||
$rss->__destruct();
|
||||
unset($rss);
|
||||
return;
|
||||
}
|
||||
@@ -691,7 +691,7 @@ function wp_dashboard_incoming_links_output() {
|
||||
}
|
||||
|
||||
echo "</ul>\n";
|
||||
$rss->__destruct();
|
||||
$rss->__destruct();
|
||||
unset($rss);
|
||||
}
|
||||
|
||||
@@ -748,14 +748,14 @@ function wp_dashboard_secondary_output() {
|
||||
echo '</p></div>';
|
||||
}
|
||||
} elseif ( !$rss->get_item_quantity() ) {
|
||||
$rss->__destruct();
|
||||
$rss->__destruct();
|
||||
unset($rss);
|
||||
return false;
|
||||
} else {
|
||||
echo '<div class="rss-widget">';
|
||||
wp_widget_rss_output( $rss, $widgets['dashboard_secondary'] );
|
||||
echo '</div>';
|
||||
$rss->__destruct();
|
||||
$rss->__destruct();
|
||||
unset($rss);
|
||||
}
|
||||
}
|
||||
@@ -839,7 +839,7 @@ function wp_dashboard_plugins_output() {
|
||||
echo "<h4>$label</h4>\n";
|
||||
echo "<h5><a href='$link'>$title</a></h5> <span>(<a href='$ilink' class='thickbox' title='$title'>" . __( 'Install' ) . "</a>)</span>\n";
|
||||
echo "<p>$description</p>\n";
|
||||
|
||||
|
||||
$$feed->__destruct();
|
||||
unset($$feed);
|
||||
}
|
||||
@@ -938,9 +938,9 @@ function wp_dashboard_rss_control( $widget_id, $form_inputs = array() ) {
|
||||
if ( is_wp_error($rss) ) {
|
||||
$widget_options[$widget_id]['title'] = htmlentities(__('Unknown Feed'));
|
||||
} else {
|
||||
$widget_options[$widget_id]['title'] = htmlentities(strip_tags($rss->get_title()));
|
||||
$widget_options[$widget_id]['title'] = htmlentities(strip_tags($rss->get_title()));
|
||||
$rss->__destruct();
|
||||
unset($rss);
|
||||
unset($rss);
|
||||
}
|
||||
}
|
||||
update_option( 'dashboard_widget_options', $widget_options );
|
||||
|
||||
Reference in New Issue
Block a user