Fixed textdomain for compatibility notice

This commit is contained in:
Stefan Kalscheuer 2018-10-30 19:32:52 +01:00
parent 7e51c7d63e
commit f60c6ec2ff

View File

@ -122,14 +122,14 @@ function statify_blacklist_disabled_notice() {
echo '<div class="notice notice-error is-dismissible"><p><strong>'; echo '<div class="notice notice-error is-dismissible"><p><strong>';
printf( printf(
/* translators: minimum version numbers for WordPress and PHP inserted at placeholders */ /* translators: minimum version numbers for WordPress and PHP inserted at placeholders */
esc_html__( 'Statify Blacklist requires at least WordPress %1$s and PHP %2$s.', 'my-plugin' ), esc_html__( 'Statify Blacklist requires at least WordPress %1$s and PHP %2$s.', 'statify-blacklist' ),
'4.7', '4.7',
'5.5' '5.5'
); );
echo '<br>'; echo '<br>';
printf( printf(
/* translators: current version numbers for WordPress and PHP inserted at placeholders */ /* translators: current version numbers for WordPress and PHP inserted at placeholders */
esc_html__( 'Your site is running WordPress %1$s on PHP %2$s, thus the plugin has been disabled.', 'my-plugin' ), esc_html__( 'Your site is running WordPress %1$s on PHP %2$s, thus the plugin has been disabled.', 'statify-blacklist' ),
esc_html( $GLOBALS['wp_version'] ), esc_html( $GLOBALS['wp_version'] ),
esc_html( phpversion() ) esc_html( phpversion() )
); );