Skip to content

Commit

Permalink
Framework: Log deprecation notice for wp-polyfill-ecmascript
Browse files Browse the repository at this point in the history
  • Loading branch information
aduth committed Nov 6, 2018
1 parent fc297b1 commit 3fc153f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/client-assets.php
Original file line number Diff line number Diff line change
Expand Up @@ -981,8 +981,14 @@ function gutenberg_register_vendor_scripts() {
null,
array(
'wp-polyfill',
'wp-deprecated',
)
);
wp_script_add_data(
'wp-polyfill-ecmascript',
'data',
'wp.deprecated( "wp-polyfill-ecmascript script handle", { plugin: "Gutenberg", version: "4.5" } );'
);
}

/**
Expand Down

0 comments on commit 3fc153f

Please sign in to comment.