WP.org no longer returns this old structure. The title of the item is the plugin name in full. fixes #21012.

git-svn-id: http://core.svn.wordpress.org/trunk@21160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2012-06-28 19:34:25 +00:00
parent c4205b38a4
commit 149eff94a1
1 changed files with 1 additions and 6 deletions

View File

@ -961,12 +961,7 @@ function wp_dashboard_plugins_output() {
if ( !isset($items[$item_key]) )
continue;
// current bbPress feed item titles are: user on "topic title"
if ( preg_match( '/"(.*)"/s', $item->get_title(), $matches ) )
$title = $matches[1];
else // but let's make it forward compatible if things change
$title = $item->get_title();
$title = esc_html( $title );
$title = esc_html( $item->get_title() );
$description = esc_html( strip_tags(@html_entity_decode($item->get_description(), ENT_QUOTES, get_option('blog_charset'))) );