Remove unused variable in wp_dashboard_plugins_output()
. Unused since [26144].
props michalzuber. see #28872. git-svn-id: https://develop.svn.wordpress.org/trunk@29130 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
6fb887a1e6
commit
d198c0bdd5
@ -1093,8 +1093,6 @@ function wp_dashboard_plugins_output( $rss, $args = array() ) {
|
||||
|
||||
$title = esc_html( $item->get_title() );
|
||||
|
||||
$description = esc_html( strip_tags( @html_entity_decode( $item->get_description(), ENT_QUOTES, get_option( 'blog_charset' ) ) ) );
|
||||
|
||||
$ilink = wp_nonce_url('plugin-install.php?tab=plugin-information&plugin=' . $slug, 'install-plugin_' . $slug) . '&TB_iframe=true&width=600&height=800';
|
||||
echo "<li class='dashboard-news-plugin'><span>" . __( 'Popular Plugin' ) . ":</span> <a href='$link' class='dashboard-news-plugin-link'>$title</a> <span>(<a href='$ilink' class='thickbox' title='$title'>" . __( 'Install' ) . "</a>)</span></li>";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user