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/contact-form/admin.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/contact-form/admin.php')
-rw-r--r-- | plugins/jetpack/modules/contact-form/admin.php | 7 |
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' ), |