mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-16 19:46:21 +00:00
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:
parent
c4205b38a4
commit
149eff94a1
@ -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'))) );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user