We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f371c35 commit 2881cf6Copy full SHA for 2881cf6
README.md
@@ -55,11 +55,10 @@ function verify_dependencies( $deps ) {
55
}
56
57
if($error) {
58
- add_action( 'admin_notices', function() {
59
- $class = 'notice notice-error';
60
- $message = __( 'Irks! An error has occurred.', 'sample-text-domain' );
+ add_action( 'admin_notices', function() {
+ $class = 'notice notice-error';
61
62
- printf( '<div class="%1$s"><p>%2$s</p></div>', esc_attr( $class ), esc_html( $message ) );
+ printf( '<div class="%1$s"><p>%2$s</p></div>', esc_attr( $class ), esc_html( $error ) );
63
});
64
65
0 commit comments