fix use of esc_html__() for translated escape in settings page
This commit is contained in:
parent
253d2fadd2
commit
736cec1d12
@ -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>' .
|
||||||
|
Loading…
x
Reference in New Issue
Block a user