removed un-necessary esc_html
This commit is contained in:
parent
c2eb7f50ca
commit
b825b0b943
|
@ -350,10 +350,10 @@ global $wpdb;
|
|||
<td data-export-label="WC Database Prefix"><?php _e( 'Database Prefix', 'woocommerce' ); ?></td>
|
||||
<td class="help"> </td>
|
||||
<td><?php
|
||||
if ( strlen( esc_html( $wpdb->prefix ) ) > 20 ) {
|
||||
if ( strlen( $wpdb->prefix ) > 20 ) {
|
||||
echo '<mark class="error"><span class="dashicons dashicons-warning"></span> ' . sprintf( __( '%s - We recommend using a prefix with less than 20 characters. See: %s', 'woocommerce' ), esc_html( $wpdb->prefix ), '<a href="https://docs.woocommerce.com/document/completed-order-email-doesnt-contain-download-links/#section-2" target="_blank">' . __( 'How to update your database table prefix', 'woocommerce' ) . '</a>' ) . '</mark>';
|
||||
} else {
|
||||
echo '<mark class="yes">' . esc_html( esc_html( $wpdb->prefix ) ) . '</mark>';
|
||||
echo '<mark class="yes">' . esc_html( $wpdb->prefix ) . '</mark>';
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
|
|
Loading…
Reference in New Issue