WordPress.org

Make WordPress Core

Ticket #45202: 45202.2.diff

File 45202.2.diff, 719 bytes (added by afragen, 22 months ago)

remove extra code style fixes

  • wp-admin/update-core.php

    diff --git a/wp-admin/update-core.php b/wp-admin/update-core.php
    index 570703e5d8..9f93058c63 100644
    a b function core_upgrade_preamble() { 
    196196                        }
    197197                }
    198198                echo '</h2>';
    199         } else {
     199        }
     200
     201        if ( isset( $updates[0]->version ) && version_compare( $updates[0]->version, $wp_version, '>' ) ) {
    200202                echo '<div class="notice notice-warning"><p>';
    201203                _e( '<strong>Important:</strong> Before updating, please <a href="https://codex.wordpress.org/WordPress_Backups">back up your database and files</a>. For help with updates, visit the <a href="https://codex.wordpress.org/Updating_WordPress">Updating WordPress</a> Codex page.' );
    202204                echo '</p></div>';