diff -r 7b1b88e27a20 -r 48c4eec2b7e6 wp/wp-admin/options-privacy.php --- a/wp/wp-admin/options-privacy.php Thu Sep 29 08:06:27 2022 +0200 +++ b/wp/wp-admin/options-privacy.php Fri Sep 05 18:40:08 2025 +0200 @@ -14,13 +14,16 @@ } if ( isset( $_GET['tab'] ) && 'policyguide' === $_GET['tab'] ) { - require_once dirname( __FILE__ ) . '/privacy-policy-guide.php'; + require_once __DIR__ . '/privacy-policy-guide.php'; return; } +// Used in the HTML title tag. +$title = __( 'Privacy' ); + add_filter( 'admin_body_class', - static function( $body_class ) { + static function ( $body_class ) { $body_class .= ' privacy-settings '; return $body_class; @@ -41,7 +44,7 @@ get_current_screen()->set_help_sidebar( '

' . __( 'For more information:' ) . '

' . - '

' . __( 'Documentation on Privacy Settings' ) . '

' + '

' . __( 'Documentation on Privacy Settings' ) . '

' ); if ( ! empty( $action ) ) { @@ -174,23 +177,29 @@
-
-

-
+ 'error', + 'additional_classes' => array( 'hide-if-js' ), + ) +); +?>

- +

- - + +

- +

Check out our Privacy Policy guide%3$s for recommendations on what content to include, along with policies suggested by your plugins and theme.' ), + __( 'Need help putting together your new Privacy Policy page? Check out our privacy policy guide%3$s for recommendations on what content to include, along with policies suggested by your plugins and theme.' ), esc_url( admin_url( 'options-privacy.php?tab=policyguide' ) ), '', '' @@ -253,7 +262,7 @@

+ - +