diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2020-01-06 14:32:30 -0500 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2020-01-06 14:32:30 -0500 |
commit | 10ef81bf85ad0a4bad0d204838e14c99ca2526f7 (patch) | |
tree | b4bb36a326d41de12d1a6181d2a2baf34696ac24 /plugins/jetpack/modules/widgets/twitter-timeline.php | |
parent | Updating script for Update (diff) | |
download | blogs-gentoo-10ef81bf85ad0a4bad0d204838e14c99ca2526f7.tar.gz blogs-gentoo-10ef81bf85ad0a4bad0d204838e14c99ca2526f7.tar.bz2 blogs-gentoo-10ef81bf85ad0a4bad0d204838e14c99ca2526f7.zip |
Update jetpack 8.0
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'plugins/jetpack/modules/widgets/twitter-timeline.php')
-rw-r--r-- | plugins/jetpack/modules/widgets/twitter-timeline.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/jetpack/modules/widgets/twitter-timeline.php b/plugins/jetpack/modules/widgets/twitter-timeline.php index 0f16e330..6f9662a3 100644 --- a/plugins/jetpack/modules/widgets/twitter-timeline.php +++ b/plugins/jetpack/modules/widgets/twitter-timeline.php @@ -8,6 +8,8 @@ * - https://dev.twitter.com/docs/embedded-timelines */ +use Automattic\Jetpack\Assets; + /** * Register the widget for use in Appearance -> Widgets */ @@ -65,7 +67,7 @@ class Jetpack_Twitter_Timeline_Widget extends WP_Widget { if ( 'widgets.php' === $hook ) { wp_enqueue_script( 'twitter-timeline-admin', - Jetpack::get_file_url_for_environment( + Assets::get_file_url_for_environment( '_inc/build/widgets/twitter-timeline-admin.min.js', 'modules/widgets/twitter-timeline-admin.js' ) |