Make WordPress Core


Ignore:
Timestamp:
02/07/2023 02:38:39 PM (19 months ago)
Author:
SergeyBiryukov
Message:

Administration: Define the $title global on privacy screens.

This brings more consistency with other screens and avoids a PHP warning in get_plugin_page_hookname():

preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated

Props ipajen, jrf, SergeyBiryukov.
Fixes #57578.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/erase-personal-data.php

    r53182 r55263  
    1313    wp_die( __( 'Sorry, you are not allowed to erase personal data on this site.' ) );
    1414}
     15
     16// Used in the HTML title tag.
     17$title = __( 'Erase Personal Data' );
    1518
    1619// Contextual help - choose Help on the top right of admin panel to preview this.
Note: See TracChangeset for help on using the changeset viewer.