| @@ -2,11 +2,11 @@ | ||
| 2 | 2 | /** |
| 3 | 3 | * Plugin Name: Gutenberg |
| 4 | 4 | * Plugin URI: https://github.com/WordPress/gutenberg |
| 5 | 5 | * Description: Printing since 1440. This is the development plugin for the block editor, site editor, and other future WordPress core functionality. |
| 6 | - * Requires at least: 6.8 | |
| 7 | - * Requires PHP: 7.4 | |
| 8 | - * Version: 23.3.2 | |
| 6 | + * Requires at least: 6.5 | |
| 7 | + * Requires PHP: 7.2 | |
| 8 | + * Version: 19.6.1 | |
| 9 | 9 | * Author: Gutenberg Team |
| 10 | 10 | * Text Domain: gutenberg |
| 11 | 11 | * |
| 12 | 12 | * @package gutenberg |
| @@ -11,10 +11,15 @@ | ||
| 11 | 11 | * |
| 12 | 12 | * @package gutenberg |
| 13 | 13 | */ |
| 14 | 14 | |
| 15 | -defined( 'GUTENBERG_MINIMUM_WP_VERSION' ) or define( 'GUTENBERG_MINIMUM_WP_VERSION', '6.8' ); | |
| 15 | +### BEGIN AUTO-GENERATED DEFINES | |
| 16 | +define( 'GUTENBERG_VERSION', '19.6.1' ); | |
| 17 | +define( 'GUTENBERG_GIT_COMMIT', 'd97eb597e4cee48fb3ba2b1bbf2879e6ee05c506' ); | |
| 18 | +### END AUTO-GENERATED DEFINES | |
| 19 | +defined( 'GUTENBERG_MINIMUM_WP_VERSION' ) or define( 'GUTENBERG_MINIMUM_WP_VERSION', '6.5' ); | |
| 16 | 20 | |
| 21 | + | |
| 17 | 22 | gutenberg_pre_init(); |
| 18 | 23 | |
| 19 | 24 | /** |
| 20 | 25 | * Display a version notice and deactivate the Gutenberg plugin. |
| @@ -50,9 +55,9 @@ | ||
| 50 | 55 | * |
| 51 | 56 | */ |
| 52 | 57 | function gutenberg_pre_init() { |
| 53 | 58 | global $wp_version; |
| 54 | - if ( ! file_exists( __DIR__ . '/build/scripts/blocks' ) ) { | |
| 59 | + if ( defined( 'GUTENBERG_DEVELOPMENT_MODE' ) && GUTENBERG_DEVELOPMENT_MODE && ! file_exists( __DIR__ . '/build/blocks' ) ) { | |
| 55 | 60 | add_action( 'admin_notices', 'gutenberg_build_files_notice' ); |
| 56 | 61 | return; |
| 57 | 62 | } |
| 58 | 63 | |