Make WordPress Core

Ticket #28872: 28872.patch

File 28872.patch, 1008 bytes (added by michalzuber, 10 years ago)
  • wp-admin/includes/dashboard.php

     
    830830                        echo $loading;
    831831                        return false;
    832832                }
    833                 $check_urls = array( $widgets[$widget_id]['url'] );
    834833        }
    835834
    836835        $cache_key = 'dash_' . md5( $widget_id );
     
    10931092
    10941093                $title = esc_html( $item->get_title() );
    10951094
    1096                 $description = esc_html( strip_tags( @html_entity_decode( $item->get_description(), ENT_QUOTES, get_option( 'blog_charset' ) ) ) );
    1097 
    10981095                $ilink = wp_nonce_url('plugin-install.php?tab=plugin-information&plugin=' . $slug, 'install-plugin_' . $slug) . '&TB_iframe=true&width=600&height=800';
    10991096                echo "<li class='dashboard-news-plugin'><span>" . __( 'Popular Plugin' ) . ":</span> <a href='$link' class='dashboard-news-plugin-link'>$title</a>&nbsp;<span>(<a href='$ilink' class='thickbox' title='$title'>" . __( 'Install' ) . "</a>)</span></li>";
    11001097