Privacy: define `$title` and `$parent_file` in privacy.php. Fixes showing the proper document title.
Props ocean90. Fixes #44064. Built from https://develop.svn.wordpress.org/trunk@43250 git-svn-id: http://core.svn.wordpress.org/trunk@43079 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a75b113bed
commit
cb084eefd8
|
@ -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.' ); ?>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.0-alpha-43249';
|
||||
$wp_version = '5.0-alpha-43250';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue