Fixed coding standards and improved code for #10070
This commit is contained in:
parent
544d7fb8c2
commit
1626d29414
|
@ -81,17 +81,29 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|||
<tr>
|
||||
<td data-export-label="WP Debug Mode"><?php _e( 'WP Debug Mode', 'woocommerce' ); ?>:</td>
|
||||
<td class="help"><?php echo wc_help_tip( __( 'Displays whether or not WordPress is in Debug Mode.', 'woocommerce' ) ); ?></td>
|
||||
<td><?php if ( defined('WP_DEBUG') && WP_DEBUG ) echo '<mark class="yes">✔</mark>'; else echo '<mark class="no">–</mark>'; ?></td>
|
||||
<td>
|
||||
<?php if ( defined( 'WP_DEBUG' ) && WP_DEBUG ) : ?>
|
||||
<mark class="yes">✔</mark>
|
||||
<?php else : ?>
|
||||
<mark class="no">–</mark>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td data-export-label="WP Cron"><?php _e( 'WP Cron', 'woocommerce' ); ?>:</td>
|
||||
<td class="help"><?php echo wc_help_tip( __( 'Displays whether or not WP Cron Jobs are enabled.', 'woocommerce' ) ); ?></td>
|
||||
<td><?php if ( defined('DISABLE_WP_CRON') && DISABLE_WP_CRON ) echo '<mark class="no">–</mark>'; else echo '<mark class="yes">✔</mark>'; ?></td>
|
||||
<td>
|
||||
<?php if ( defined( 'DISABLE_WP_CRON' ) && DISABLE_WP_CRON ) : ?>
|
||||
<mark class="no">–</mark>
|
||||
<?php else : ?>
|
||||
<mark class="yes">✔</mark>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td data-export-label="Language"><?php _e( 'Language', 'woocommerce' ); ?>:</td>
|
||||
<td class="help"><?php echo wc_help_tip( __( 'The current language used by WordPress. Default = English', 'woocommerce' ) ); ?></td>
|
||||
<td><?php echo get_locale() ?></td>
|
||||
<td><?php echo get_locale(); ?></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
Loading…
Reference in New Issue