WordPress.org

Make WordPress Core

Changeset 43250


Ignore:
Timestamp:
05/14/2018 08:28:18 AM (3 years ago)
Author:
azaozz
Message:

Privacy: define $title and $parent_file in privacy.php. Fixes showing the proper document title.

Props ocean90.
Fixes #44064.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/privacy.php

    r43238 r43250  
    9999}
    100100
     101$title       = __( 'Privacy Settings' );
     102$parent_file = 'options-general.php';
     103
    101104require_once( ABSPATH . 'wp-admin/admin-header.php' );
    102105
    103106?>
    104107<div class="wrap">
    105     <h1><?php _e( 'Privacy Settings' ); ?></h1>
     108    <h1><?php echo $title; ?></h1>
    106109    <h2><?php _e( 'Privacy Policy page' ); ?></h2>
    107110    <p>
Note: See TracChangeset for help on using the changeset viewer.