mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Upgrade/Install: Move location of $upgrade_notice for better consistency.
Since the `$auto_upgrade_notice` has been added to the `update-core.php` table listing if an `$upgrade_notice` is present by virtue of the `readme.txt` containing data in the `== Upgrade Notice ==` section, this text will appear in between the compatibility information and the auto update information. This changeset provides a more consistent appearance in the interface. Props afragen, costdev, zunaid321. Fixes #57939. git-svn-id: https://develop.svn.wordpress.org/trunk@56001 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d51e1e66d0
commit
3a340b69ca
@ -593,11 +593,13 @@ function list_plugin_updates() {
|
||||
$plugin_data->update->new_version
|
||||
);
|
||||
|
||||
echo ' ' . $details . $compat . $upgrade_notice;
|
||||
echo ' ' . $details . $compat;
|
||||
|
||||
if ( in_array( $plugin_file, $auto_updates, true ) ) {
|
||||
echo $auto_update_notice;
|
||||
}
|
||||
|
||||
echo $upgrade_notice;
|
||||
?>
|
||||
</p></td>
|
||||
</tr>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user