Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: removed
Comment: Removed a temporary fix that was never in production


9 changes: 0 additions & 9 deletions projects/packages/forms/src/dashboard/class-dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,6 @@ public static function load_wp_build() {

if ( file_exists( $wp_build_index ) ) {
require_once $wp_build_index;

// Re-add core's registration only when Gutenberg isn't providing it
if ( ! defined( 'IS_GUTENBERG_PLUGIN' ) || ! IS_GUTENBERG_PLUGIN ) {
// `wp-build` currently removes `wp_default_script_modules` from `wp_default_scripts`.
// Re-add the core hook so script modules work in vanilla wp-admin (no Gutenberg plugin).
if ( function_exists( 'wp_default_script_modules' ) ) {
add_action( 'wp_default_scripts', 'wp_default_script_modules', 0 );
}
}
}
}
}
Expand Down
Loading