Privacy: remove the help tab from Settings => Privacy until we have something helpful to say :)
Props allendav. See #44023. git-svn-id: https://develop.svn.wordpress.org/trunk@43201 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
998fcc3f65
commit
da40024f7f
|
@ -101,17 +101,6 @@ if ( ! empty( $privacy_policy_page_id ) ) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
get_current_screen()->add_help_tab( array(
|
|
||||||
'id' => 'privacy',
|
|
||||||
'title' => __( 'Privacy' ),
|
|
||||||
'content' => '<p>' . __( 'This page provides settings with which you can manage your site’s privacy policy.' ) . '</p>',
|
|
||||||
) );
|
|
||||||
|
|
||||||
get_current_screen()->set_help_sidebar(
|
|
||||||
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
|
|
||||||
'<p>' . __( '<a href="#">Documentation on privacy</a>' ) . '</p>'
|
|
||||||
);
|
|
||||||
|
|
||||||
require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue