From 149eff94a1b71bef1abac727df4a6f61fc56eb8e Mon Sep 17 00:00:00 2001 From: nacin Date: Thu, 28 Jun 2012 19:34:25 +0000 Subject: [PATCH] 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 --- wp-admin/includes/dashboard.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/wp-admin/includes/dashboard.php b/wp-admin/includes/dashboard.php index 6e7d5f0d07..4dfd516add 100644 --- a/wp-admin/includes/dashboard.php +++ b/wp-admin/includes/dashboard.php @@ -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'))) );