mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-04 02:01:18 +03:00
Plugin: Fix all phpcs errors
This includes autofixes, along with some manual fixes; mostly syntax-related. Some `phpcs:ignore` comments were added for overzealous rules that don't apply.
This commit is contained in:
parent
e1909dfccf
commit
42d44f7dc9
10 changed files with 65 additions and 69 deletions
|
@ -24,9 +24,9 @@ defined( 'WPINC' ) || die();
|
|||
|
||||
<?php if ( ! empty( $errors ) ) : ?>
|
||||
<div id="error-messages" class="notice notice-error notice-alt">
|
||||
<?php foreach ( $errors as $error ) : ?>
|
||||
<?php foreach ( $errors as $error_message ) : ?>
|
||||
<p>
|
||||
<?php echo wp_kses_post( $error ); ?>
|
||||
<?php echo wp_kses_post( $error_message ); ?>
|
||||
</p>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue