diff --git a/bin/generate-gutenberg-php.php b/bin/generate-gutenberg-php.php index da7872214379c8..fc9bf51ef3cab5 100755 --- a/bin/generate-gutenberg-php.php +++ b/bin/generate-gutenberg-php.php @@ -40,13 +40,13 @@ function print_production_defines() { } switch ( trim( $line ) ) { - case '### BEGIN DEFINES': + case '### BEGIN AUTO-GENERATED DEFINES': $inside_defines = true; echo $line; print_production_defines(); break; - case '### END DEFINES': + case '### END AUTO-GENERATED DEFINES': $inside_defines = false; echo $line; break; diff --git a/gutenberg.php b/gutenberg.php index 919dcac47f0f0b..755f128a3a6eda 100644 --- a/gutenberg.php +++ b/gutenberg.php @@ -11,9 +11,9 @@ define( 'GUTENBERG__PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); -### BEGIN DEFINES +### BEGIN AUTO-GENERATED DEFINES define( 'GUTENBERG_DEVELOPMENT_MODE', true ); -### END DEFINES +### END AUTO-GENERATED DEFINES require_once dirname( __FILE__ ) . '/lib/blocks.php'; require_once dirname( __FILE__ ) . '/lib/client-assets.php';