mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-03 04:04:35 +00:00
Privacy: add means to erase personal data by username or email address. First run.
Props allendav, coreymckrill, ericdaams, azaozz. See #43637, #43602. git-svn-id: https://develop.svn.wordpress.org/trunk@42986 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -709,6 +709,15 @@ function wp_default_scripts( &$scripts ) {
|
||||
);
|
||||
|
||||
$scripts->add( 'xfn', "/wp-admin/js/xfn$suffix.js", array( 'jquery' ), false, 1 );
|
||||
did_action( 'init' ) && $scripts->localize(
|
||||
'xfn', 'privacyToolsL10n', array(
|
||||
'noDataFound' => __( 'No personal data was found for this user.' ),
|
||||
'foundAndRemoved' => __( 'All of the personal data found for this user was removed.' ),
|
||||
'noneRemoved' => __( 'Personal data was found for this user but was not removed.' ),
|
||||
'someNotRemoved' => __( 'Personal data was found for this user but some of the personal data found was not removed.' ),
|
||||
'anErrorOccurred' => __( 'An error occurred while attempting to find and remove personal data.' ),
|
||||
)
|
||||
);
|
||||
|
||||
$scripts->add( 'postbox', "/wp-admin/js/postbox$suffix.js", array( 'jquery-ui-sortable' ), false, 1 );
|
||||
did_action( 'init' ) && $scripts->localize(
|
||||
|
||||
Reference in New Issue
Block a user