Make WordPress Core


Ignore:
Timestamp:
04/18/2018 10:29:59 PM (6 years ago)
Author:
azaozz
Message:

Privacy: add means to erase personal data by username or email address. First run.

Props allendav, coreymckrill, ericdaams, azaozz.
See #43637, #43602.

File:
1 edited

Legend:

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

    r42794 r42986  
    710710
    711711        $scripts->add( 'xfn', "/wp-admin/js/xfn$suffix.js", array( 'jquery' ), false, 1 );
     712        did_action( 'init' ) && $scripts->localize(
     713            'xfn', 'privacyToolsL10n', array(
     714                'noDataFound'     => __( 'No personal data was found for this user.' ),
     715                'foundAndRemoved' => __( 'All of the personal data found for this user was removed.' ),
     716                'noneRemoved'     => __( 'Personal data was found for this user but was not removed.' ),
     717                'someNotRemoved'  => __( 'Personal data was found for this user but some of the personal data found was not removed.' ),
     718                'anErrorOccurred' => __( 'An error occurred while attempting to find and remove personal data.' ),
     719            )
     720        );
    712721
    713722        $scripts->add( 'postbox', "/wp-admin/js/postbox$suffix.js", array( 'jquery-ui-sortable' ), false, 1 );
Note: See TracChangeset for help on using the changeset viewer.