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

See #27881.


git-svn-id: https://develop.svn.wordpress.org/trunk@28477 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor 2014-05-18 20:32:58 +00:00
parent b5fdb2dc06
commit f083cc4e9b
1 changed files with 15 additions and 13 deletions

View File

@ -67,7 +67,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
</div>
</div>
<hr>
<hr />
<div class="feature-section col two-col">
<div class="col-1">
@ -172,7 +172,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
</div>
</div>
<hr>
<hr />
<div class="changelog customize">
<div class="feature-section col two-col">
@ -202,7 +202,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
</div>
</div>
<hr>
<hr />
<div class="changelog under-the-hood">
<h3><?php _e( 'Under the Hood' ); ?></h3>
@ -227,18 +227,20 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
<p><?php _e( 'Identify a hook in progress with <code>doing_action()</code> and <code>doing_filter()</code>, and manipulate custom image sizes with <code>has_image_size()</code> and <code>remove_image_size()</code>.' ); ?></p>
<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>
</div>
</div>
</div>
<hr>
<hr />
<div class="return-to-dashboard">
<?php if ( current_user_can( 'update_core' ) && isset( $_GET['updated'] ) ) : ?>
<a href="<?php echo esc_url( self_admin_url( 'update-core.php' ) ); ?>"><?php
is_multisite() ? _e( 'Return to Updates' ) : _e( 'Return to Dashboard &rarr; Updates' );
?></a> |
<?php endif; ?>
<a href="<?php echo esc_url( self_admin_url() ); ?>"><?php
is_blog_admin() ? _e( 'Go to Dashboard &rarr; Home' ) : _e( 'Go to Dashboard' ); ?></a>
</div>
<div class="return-to-dashboard">
<?php if ( current_user_can( 'update_core' ) && isset( $_GET['updated'] ) ) : ?>
<a href="<?php echo esc_url( self_admin_url( 'update-core.php' ) ); ?>"><?php
is_multisite() ? _e( 'Return to Updates' ) : _e( 'Return to Dashboard &rarr; Updates' );
?></a> |
<?php endif; ?>
<a href="<?php echo esc_url( self_admin_url() ); ?>"><?php
is_blog_admin() ? _e( 'Go to Dashboard &rarr; Home' ) : _e( 'Go to Dashboard' ); ?></a>
</div>
</div>