Skip to content

Commit

Permalink
Update lodash (#24401)
Browse files Browse the repository at this point in the history
Co-authored-by: ntsekouras <[email protected]>
  • Loading branch information
youknowriad and ntsekouras authored Aug 12, 2020
1 parent 77afc30 commit be99466
Show file tree
Hide file tree
Showing 45 changed files with 100 additions and 87 deletions.
13 changes: 13 additions & 0 deletions lib/client-assets.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' );

Expand Down
88 changes: 44 additions & 44 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit be99466

Please sign in to comment.