fix use of esc_html__() for translated escape in settings page

This commit is contained in:
Stefan Kalscheuer 2020-01-07 19:27:47 +01:00
parent 253d2fadd2
commit 736cec1d12

View File

@ -159,7 +159,7 @@ if ( ! empty( $_POST['statifyblacklist'] ) ) {
wp_kses( $w, array( 'br' => array() ) ) . wp_kses( $w, array( 'br' => array() ) ) .
'</p></div>'; '</p></div>';
} }
print '<div class="notice notice-warning"><p>' . esc_html( 'Settings have not been saved yet.', 'statify-blacklist' ) . '</p></div>'; print '<div class="notice notice-warning"><p>' . esc_html__( 'Settings have not been saved yet.', 'statify-blacklist' ) . '</p></div>';
} }
if ( isset( $statifyblacklist_post_success ) ) { if ( isset( $statifyblacklist_post_success ) ) {
print '<div class="notice notice-success"><p>' . print '<div class="notice notice-success"><p>' .