WordPress.org

Make WordPress Core

Changeset 28477


Ignore:
Timestamp:
05/18/2014 08:32:58 PM (7 years ago)
Author:
wonderboymusic
Message:

The About page has a <div> that doesn't close. Also, <hr>s should self-close. hackificator complains about these things.

See #27881.

File:
1 edited

Legend:

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

    r28151 r28477  
    6868    </div>
    6969
    70     <hr>
     70    <hr />
    7171
    7272    <div class="feature-section col two-col">
     
    173173</div>
    174174
    175 <hr>
     175<hr />
    176176
    177177<div class="changelog customize">
     
    203203</div>
    204204
    205 <hr>
     205<hr />
    206206
    207207<div class="changelog under-the-hood">
     
    228228            <p><?php _e( 'Plugins and themes registering custom image sizes can now register suggested cropping points. For example, prevent heads from being cropped out of photos with a top-center crop.' ); ?></p>
    229229        </div>
    230 </div>
    231 
    232 <hr>
    233 
    234 <div class="return-to-dashboard">
    235     <?php if ( current_user_can( 'update_core' ) && isset( $_GET['updated'] ) ) : ?>
    236     <a href="<?php echo esc_url( self_admin_url( 'update-core.php' ) ); ?>"><?php
    237         is_multisite() ? _e( 'Return to Updates' ) : _e( 'Return to Dashboard &rarr; Updates' );
    238     ?></a> |
    239     <?php endif; ?>
    240     <a href="<?php echo esc_url( self_admin_url() ); ?>"><?php
    241         is_blog_admin() ? _e( 'Go to Dashboard &rarr; Home' ) : _e( 'Go to Dashboard' ); ?></a>
     230    </div>
     231
     232    <hr />
     233
     234    <div class="return-to-dashboard">
     235        <?php if ( current_user_can( 'update_core' ) && isset( $_GET['updated'] ) ) : ?>
     236        <a href="<?php echo esc_url( self_admin_url( 'update-core.php' ) ); ?>"><?php
     237            is_multisite() ? _e( 'Return to Updates' ) : _e( 'Return to Dashboard &rarr; Updates' );
     238        ?></a> |
     239        <?php endif; ?>
     240        <a href="<?php echo esc_url( self_admin_url() ); ?>"><?php
     241            is_blog_admin() ? _e( 'Go to Dashboard &rarr; Home' ) : _e( 'Go to Dashboard' ); ?></a>
     242    </div>
     243
    242244</div>
    243245
Note: See TracChangeset for help on using the changeset viewer.