summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/functions.gallery.php')
-rw-r--r--plugins/jetpack/functions.gallery.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/jetpack/functions.gallery.php b/plugins/jetpack/functions.gallery.php
index 7fc90611..62036c3a 100644
--- a/plugins/jetpack/functions.gallery.php
+++ b/plugins/jetpack/functions.gallery.php
@@ -1,5 +1,7 @@
<?php
+use Automattic\Jetpack\Assets;
+
/**
* Renders extra controls in the Gallery Settings section of the new media UI.
*/
@@ -59,7 +61,7 @@ class Jetpack_Gallery_Settings {
*/
wp_register_script(
'jetpack-gallery-settings',
- Jetpack::get_file_url_for_environment( '_inc/build/gallery-settings.min.js', '_inc/gallery-settings.js' ),
+ Assets::get_file_url_for_environment( '_inc/build/gallery-settings.min.js', '_inc/gallery-settings.js' ),
array( 'media-views' ),
'20121225'
);