Skip to content

Commit 38c376e

Browse files
Mamadukayouknowriad
authored andcommitted
Plugin: Remove unnecessary 'IS_GUTENBERG_PLUGIN' check in 'load.php' (WordPress#59873)
Co-authored-by: Mamaduka <[email protected]> Co-authored-by: youknowriad <[email protected]>
1 parent 5f63eab commit 38c376e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lib/load.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,8 @@ function gutenberg_is_experiment_enabled( $name ) {
124124
require __DIR__ . '/compat/wordpress-6.5/block-bindings/post-meta.php';
125125
require __DIR__ . '/compat/wordpress-6.5/script-loader.php';
126126

127-
// Not to be included in WordPress 6.5.
128-
if ( defined( 'IS_GUTENBERG_PLUGIN' ) && IS_GUTENBERG_PLUGIN ) {
129-
require __DIR__ . '/compat/wordpress-6.6/block-bindings/pattern-overrides.php';
130-
}
127+
// WordPress 6.6 compat.
128+
require __DIR__ . '/compat/wordpress-6.6/block-bindings/pattern-overrides.php';
131129

132130
// Experimental features.
133131
require __DIR__ . '/experimental/block-editor-settings-mobile.php';

0 commit comments

Comments
 (0)