Remove unused variable in `wp_dashboard_plugins_output()`. Unused since [26144].
props michalzuber. see #28872. Built from https://develop.svn.wordpress.org/trunk@29130 git-svn-id: http://core.svn.wordpress.org/trunk@28915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
164f31e8e8
commit
e398ae8161
|
@ -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