Privacy: define $title
and $parent_file
in privacy.php. Fixes showing the proper document title.
Props ocean90. Fixes #44064. git-svn-id: https://develop.svn.wordpress.org/trunk@43250 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
805b2761a9
commit
ad88d64eb9
@ -98,11 +98,14 @@ if ( ! empty( $privacy_policy_page_id ) ) {
|
||||
}
|
||||
}
|
||||
|
||||
$title = __( 'Privacy Settings' );
|
||||
$parent_file = 'options-general.php';
|
||||
|
||||
require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
|
||||
?>
|
||||
<div class="wrap">
|
||||
<h1><?php _e( 'Privacy Settings' ); ?></h1>
|
||||
<h1><?php echo $title; ?></h1>
|
||||
<h2><?php _e( 'Privacy Policy page' ); ?></h2>
|
||||
<p>
|
||||
<?php _e( 'As a website owner, you may need to follow national or international privacy laws. For example, you may need to create and display a privacy policy.' ); ?>
|
||||
|
Loading…
Reference in New Issue
Block a user