mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 09:07:59 +01:00
Plugins: In list_plugin_updates()
, only display the annotation and the surrounding tags if it's not empty.
Props afragen. Fixes #46680. Built from https://develop.svn.wordpress.org/trunk@45184 git-svn-id: http://core.svn.wordpress.org/trunk@44993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b9c927411a
commit
a2e273944a
@ -304,7 +304,12 @@ function list_plugin_updates() {
|
||||
__( '<a href="%s">Learn more about updating PHP.</a>' ),
|
||||
esc_url( wp_get_update_php_url() )
|
||||
);
|
||||
$compat .= '</p><p><em>' . wp_get_update_php_annotation() . '</em>';
|
||||
|
||||
$annotation = wp_get_update_php_annotation();
|
||||
|
||||
if ( $annotation ) {
|
||||
$compat .= '</p><p><em>' . $annotation . '</em>';
|
||||
}
|
||||
}
|
||||
|
||||
// Get the upgrade notice for the new plugin version.
|
||||
|
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.2-beta3-45183';
|
||||
$wp_version = '5.2-beta3-45184';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user