Make WordPress Core

Changeset 49297


Ignore:
Timestamp:
10/24/2020 12:31:07 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Use consistent formatting for <div class="wrap"> sections in wp-admin/update-core.php.

Follow-up to [28500], [28530].

Props ravipatel.
Fixes #51618.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/update-core.php

    r49293 r49297  
    10731073
    10741074    require_once ABSPATH . 'wp-admin/admin-header.php';
    1075     echo '<div class="wrap">';
    1076     echo '<h1>' . __( 'Update Plugins' ) . '</h1>';
    1077     echo '<iframe src="', $url, '" style="width: 100%; height: 100%; min-height: 750px;" frameborder="0" title="' . esc_attr__( 'Update progress' ) . '"></iframe>';
    1078     echo '</div>';
     1075    ?>
     1076    <div class="wrap">
     1077        <h1><?php _e( 'Update Plugins' ); ?></h1>
     1078        <iframe src="<?php echo $url; ?>" style="width: 100%; height: 100%; min-height: 750px;" frameborder="0" title="<?php esc_attr_e( 'Update progress' ); ?>"></iframe>
     1079    </div>
     1080    <?php
    10791081
    10801082    wp_localize_script(
Note: See TracChangeset for help on using the changeset viewer.