WP.org no longer returns this old structure. The title of the item is the plugin name in full. fixes #21012.
git-svn-id: https://develop.svn.wordpress.org/trunk@21160 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8e48096fcf
commit
27ba62eb39
@ -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