-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: ntsekouras <[email protected]>
- Loading branch information
1 parent
77afc30
commit be99466
Showing
45 changed files
with
100 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -235,6 +235,19 @@ function gutenberg_register_vendor_scripts( $scripts ) { | |
array(), | ||
'3.42.0' | ||
); | ||
|
||
/* | ||
* This script registration and the corresponding function should be removed | ||
* removed once the plugin is updated to support WordPress 5.6.0 and newer. | ||
*/ | ||
gutenberg_register_vendor_script( | ||
$scripts, | ||
'lodash', | ||
'https://unpkg.com/[email protected]/lodash.js', | ||
array(), | ||
'4.17.19', | ||
true | ||
); | ||
} | ||
add_action( 'wp_default_scripts', 'gutenberg_register_vendor_scripts' ); | ||
|
||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.