Skip to content

Commit

Permalink
Add wp-deprecated dependency to wp-element (#7999)
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad authored Jul 17, 2018
1 parent 247a6e0 commit 0b7259e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/client-assets.php
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ function gutenberg_register_scripts_and_styles() {
wp_register_script(
'wp-element',
gutenberg_url( 'build/element/index.js' ),
array( 'react', 'react-dom', 'wp-is-shallow-equal', 'lodash' ),
array( 'react', 'react-dom', 'wp-is-shallow-equal', 'lodash', 'wp-deprecated' ),
filemtime( gutenberg_dir_path() . 'build/element/index.js' ),
true
);
Expand Down

0 comments on commit 0b7259e

Please sign in to comment.