diff --git a/gutenberg.php b/gutenberg.php
index 53333e55831917..88ac810c392694 100644
--- a/gutenberg.php
+++ b/gutenberg.php
@@ -87,7 +87,7 @@ function gutenberg_menu() {
function gutenberg_wordpress_version_notice() {
echo '
';
/* translators: %s: Minimum required version */
- printf( __( 'Gutenberg requires WordPress %s or later to function properly. Please upgrade WordPress before activating Gutenberg.', 'gutenberg' ), '5.0.0' );
+ printf( __( 'Gutenberg requires WordPress %s or later to function properly. Please upgrade WordPress before activating Gutenberg.', 'gutenberg' ), '5.2.0' );
echo '
';
deactivate_plugins( array( 'gutenberg/gutenberg.php' ) );
@@ -122,7 +122,7 @@ function gutenberg_pre_init() {
// Strip '-src' from the version string. Messes up version_compare().
$version = str_replace( '-src', '', $wp_version );
- if ( version_compare( $version, '5.0.0', '<' ) ) {
+ if ( version_compare( $version, '5.2.0', '<' ) ) {
add_action( 'admin_notices', 'gutenberg_wordpress_version_notice' );
return;
}
diff --git a/phpcs.xml.dist b/phpcs.xml.dist
index e039c8724c9485..87c4674f45e6e1 100644
--- a/phpcs.xml.dist
+++ b/phpcs.xml.dist
@@ -3,7 +3,7 @@
Sniffs for WordPress plugins, with minor modifications for Gutenberg
-
+