Updated CSS to use branch-5 instead of branch-5-0 after testing. Updated check to include privacy.css to account for core#43895 which reorganized the privacy files.
This commit is contained in:
parent
89336488e9
commit
a1ea941947
|
@ -29,8 +29,8 @@
|
|||
// Pre-5.4 support for italics.
|
||||
.branch-4-9 .wp-suggested-text ul,
|
||||
.branch-4-9 .wp-suggested-text ol,
|
||||
.branch-5-0 .wp-suggested-text ul,
|
||||
.branch-5-0 .wp-suggested-text ol,
|
||||
.branch-5 .wp-suggested-text ul,
|
||||
.branch-5 .wp-suggested-text ol,
|
||||
.branch-5-1 .wp-suggested-text ul,
|
||||
.branch-5-1 .wp-suggested-text ol,
|
||||
.branch-5-2 .wp-suggested-text ul,
|
||||
|
|
|
@ -70,7 +70,7 @@ if ( ! class_exists( 'WC_Admin_Assets', false ) ) :
|
|||
}
|
||||
|
||||
// Privacy Policy Guide css for back-compat.
|
||||
if ( in_array( $screen_id, array( 'privacy-policy-guide' ) ) ) {
|
||||
if ( isset( $_GET['wp-privacy-policy-guide'] ) || in_array( $screen_id, array( 'privacy-policy-guide' ) ) ) {
|
||||
wp_enqueue_style( 'woocommerce_admin_privacy_styles' );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue