PluginProbe
Gutenberg / 19.6.1
Gutenberg v19.6.1
24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 12.6.0 All 403 releases
← All changes | gutenberg.php +11 -6 23.5.219.6.1 View file →
@@ -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.9
7 - * Requires PHP: 7.4
8 - * Version: 23.5.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.9' );
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.
@@ -26,9 +31,9 @@
26 31 /* translators: %s: Minimum required version */
27 32 printf( __( 'Gutenberg requires WordPress %s or later to function properly. Please upgrade WordPress before activating Gutenberg.', 'gutenberg' ), GUTENBERG_MINIMUM_WP_VERSION );
28 33 echo '</p></div>';
29 34
30 - deactivate_plugins( array( plugin_basename( __FILE__ ) ) );
35 + deactivate_plugins( array( 'gutenberg/gutenberg.php' ) );
31 36 }
32 37
33 38 /**
34 39 * Display a build notice.
@@ -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