diff -r be944660c56a -r 3d72ae0968f4 wp/wp-admin/options-privacy.php --- a/wp/wp-admin/options-privacy.php Wed Sep 21 18:19:35 2022 +0200 +++ b/wp/wp-admin/options-privacy.php Tue Sep 27 16:37:53 2022 +0200 @@ -20,7 +20,7 @@ add_filter( 'admin_body_class', - function( $body_class ) { + static function( $body_class ) { $body_class .= ' privacy-settings '; return $body_class; @@ -29,6 +29,21 @@ $action = isset( $_POST['action'] ) ? $_POST['action'] : ''; +get_current_screen()->add_help_tab( + array( + 'id' => 'overview', + 'title' => __( 'Overview' ), + 'content' => + '

' . __( 'The Privacy screen lets you either build a new privacy-policy page or choose one you already have to show.' ) . '

' . + '

' . __( 'This screen includes suggestions to help you write your own privacy policy. However, it is your responsibility to use these resources correctly, to provide the information required by your privacy policy, and to keep this information current and accurate.' ) . '

', + ) +); + +get_current_screen()->set_help_sidebar( + '

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

' . + '

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

' +); + if ( ! empty( $action ) ) { check_admin_referer( $action ); @@ -174,8 +189,8 @@

- - + +