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/widget-visibility/widget-conditions.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/widget-visibility/widget-conditions.php')
-rw-r--r-- | plugins/jetpack/modules/widget-visibility/widget-conditions.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/jetpack/modules/widget-visibility/widget-conditions.php b/plugins/jetpack/modules/widget-visibility/widget-conditions.php index f5e12cbb..d049d368 100644 --- a/plugins/jetpack/modules/widget-visibility/widget-conditions.php +++ b/plugins/jetpack/modules/widget-visibility/widget-conditions.php @@ -1,5 +1,6 @@ <?php +use Automattic\Jetpack\Assets; /** * Hide or show widgets conditionally. @@ -25,7 +26,7 @@ class Jetpack_Widget_Conditions { wp_style_add_data( 'widget-conditions', 'rtl', 'replace' ); wp_enqueue_script( 'widget-conditions', - Jetpack::get_file_url_for_environment( + Assets::get_file_url_for_environment( '_inc/build/widget-visibility/widget-conditions/widget-conditions.min.js', 'modules/widget-visibility/widget-conditions/widget-conditions.js' ), @@ -304,7 +305,7 @@ class Jetpack_Widget_Conditions { <?php _ex( 'is', 'Widget Visibility: {Rule Major [Page]} is {Rule Minor [Search results]}', 'jetpack' ); ?> - <select class="conditions-rule-minor" name="conditions[rules_minor][]" + <select class="conditions-rule-minor" name="conditions[rules_minor][]" <?php if ( ! $rule['major'] ) { ?> @@ -318,7 +319,7 @@ class Jetpack_Widget_Conditions { <option value="<?php echo esc_attr( $rule['minor'] ); ?>" selected="selected"></option> </select> - <span class="conditions-rule-has-children" + <span class="conditions-rule-has-children" <?php if ( ! $rule['has_children'] ) { ?> |