WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/26/2019 08:49:04 PM (6 months ago)
Author:
azaozz
Message:

Privacy tools: Organize privacy functions into logical files and classes.

Props xkon, birgire, desrosj, garrett-eclipse, azaozz.
See #43895.

File:
1 edited

Legend:

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

    r42343 r45448  
    4141require_once( ABSPATH . 'wp-admin/includes/misc.php' );
    4242
     43/** WordPress Misc Administration API */
     44require_once( ABSPATH . 'wp-admin/includes/class-wp-privacy-policy-content.php' );
     45
    4346/** WordPress Options Administration API */
    4447require_once( ABSPATH . 'wp-admin/includes/options.php' );
     
    6871require_once( ABSPATH . 'wp-admin/includes/theme.php' );
    6972
     73/** WordPress Privacy Functions */
     74require_once( ABSPATH . 'wp-admin/includes/privacy-tools.php' );
     75
     76/** WordPress Privacy List Table classes. */
     77// Previously in wp-admin/includes/user.php. Need to be loaded for backwards compatibility.
     78require_once( ABSPATH . 'wp-admin/includes/class-wp-privacy-requests-table.php' );
     79require_once( ABSPATH . 'wp-admin/includes/class-wp-privacy-data-export-requests-list-table.php' );
     80require_once( ABSPATH . 'wp-admin/includes/class-wp-privacy-data-removal-requests-list-table.php' );
     81
    7082/** WordPress User Administration API */
    7183require_once( ABSPATH . 'wp-admin/includes/user.php' );
Note: See TracChangeset for help on using the changeset viewer.