Ticket #28872: 28872.patch
File 28872.patch, 1008 bytes (added by , 9 years ago) |
---|
-
wp-admin/includes/dashboard.php
830 830 echo $loading; 831 831 return false; 832 832 } 833 $check_urls = array( $widgets[$widget_id]['url'] );834 833 } 835 834 836 835 $cache_key = 'dash_' . md5( $widget_id ); … … 1093 1092 1094 1093 $title = esc_html( $item->get_title() ); 1095 1094 1096 $description = esc_html( strip_tags( @html_entity_decode( $item->get_description(), ENT_QUOTES, get_option( 'blog_charset' ) ) ) );1097 1098 1095 $ilink = wp_nonce_url('plugin-install.php?tab=plugin-information&plugin=' . $slug, 'install-plugin_' . $slug) . '&TB_iframe=true&width=600&height=800'; 1099 1096 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>"; 1100 1097