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

See #27881.

Built from https://develop.svn.wordpress.org/trunk@28477


git-svn-id: http://core.svn.wordpress.org/trunk@28304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2014-05-18 20:33:15 +00:00
parent 11dd3443a2
commit fc23dc3551
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>