summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/modules/contact-form/admin.php')
-rw-r--r--plugins/jetpack/modules/contact-form/admin.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/plugins/jetpack/modules/contact-form/admin.php b/plugins/jetpack/modules/contact-form/admin.php
index 0596f798..c8c7d053 100644
--- a/plugins/jetpack/modules/contact-form/admin.php
+++ b/plugins/jetpack/modules/contact-form/admin.php
@@ -1,4 +1,7 @@
<?php
+
+use Automattic\Jetpack\Assets;
+
/**
* Add a contact form button to the post composition screen
*/
@@ -86,7 +89,7 @@ color: #D98500;
* Hack a 'Bulk Delete' option for bulk edit in spam view
*
* There isn't a better way to do this until
- * http://core.trac.wordpress.org/changeset/17297 is resolved
+ * https://core.trac.wordpress.org/changeset/17297 is resolved
*/
add_action( 'admin_head', 'grunion_add_bulk_edit_option' );
function grunion_add_bulk_edit_option() {
@@ -803,7 +806,7 @@ function grunion_enable_spam_recheck() {
// Add the scripts that handle the spam check event.
wp_register_script(
'grunion-admin',
- Jetpack::get_file_url_for_environment(
+ Assets::get_file_url_for_environment(
'_inc/build/contact-form/js/grunion-admin.min.js',
'modules/contact-form/js/grunion-admin.js'
),