golden hour
/home/phakp/public_html/wp-admin
⬆️ Go Up
Upload
File/Folder
Size
Actions
about.php
23.85 KB
Del
OK
admin-ajax.php
4.84 KB
Del
OK
admin-footer.php
2.76 KB
Del
OK
admin-functions.php
406 B
Del
OK
admin-header.php
8.8 KB
Del
OK
admin-post.php
2 KB
Del
OK
admin.php
12.26 KB
Del
OK
async-upload.php
4.56 KB
Del
OK
authorize-application.php
10.02 KB
Del
OK
comment.php
11.23 KB
Del
OK
credits.php
3.67 KB
Del
OK
css
-
Del
OK
custom-background.php
416 B
Del
OK
custom-header.php
426 B
Del
OK
customize.php
10.46 KB
Del
OK
edit-comments.php
13.74 KB
Del
OK
edit-form-advanced.php
28.28 KB
Del
OK
edit-form-blocks.php
10.74 KB
Del
OK
edit-form-comment.php
7.97 KB
Del
OK
edit-link-form.php
6.14 KB
Del
OK
edit-tag-form.php
10.18 KB
Del
OK
edit-tags.php
21.68 KB
Del
OK
edit.php
18.79 KB
Del
OK
erase-personal-data.php
7.27 KB
Del
OK
error_log
7.53 KB
Del
OK
export-personal-data.php
7.67 KB
Del
OK
export.php
10.74 KB
Del
OK
freedoms.php
4.39 KB
Del
OK
images
-
Del
OK
import.php
7.38 KB
Del
OK
includes
-
Del
OK
index.php
7.63 KB
Del
OK
install-helper.php
5.93 KB
Del
OK
install.php
16.51 KB
Del
OK
js
-
Del
OK
link-add.php
742 B
Del
OK
link-manager.php
4.15 KB
Del
OK
link-parse-opml.php
2.59 KB
Del
OK
link.php
2.7 KB
Del
OK
load-scripts.php
1.66 KB
Del
OK
load-styles.php
2.47 KB
Del
OK
maint
-
Del
OK
media-new.php
3.17 KB
Del
OK
media-upload.php
3.49 KB
Del
OK
media.php
5.48 KB
Del
OK
menu-header.php
9.82 KB
Del
OK
menu.php
15.9 KB
Del
OK
moderation.php
307 B
Del
OK
ms-admin.php
196 B
Del
OK
ms-delete-site.php
4.18 KB
Del
OK
ms-edit.php
216 B
Del
OK
ms-options.php
223 B
Del
OK
ms-sites.php
215 B
Del
OK
ms-themes.php
217 B
Del
OK
ms-upgrade-network.php
219 B
Del
OK
ms-users.php
215 B
Del
OK
my-sites.php
4.56 KB
Del
OK
nav-menus.php
45.75 KB
Del
OK
network
-
Del
OK
network.php
5.32 KB
Del
OK
options-discussion.php
15.1 KB
Del
OK
options-general.php
14.65 KB
Del
OK
options-head.php
492 B
Del
OK
options-media.php
6.18 KB
Del
OK
options-permalink.php
19.55 KB
Del
OK
options-privacy.php
9.86 KB
Del
OK
options-reading.php
9.66 KB
Del
OK
options-writing.php
8.49 KB
Del
OK
options.php
12.65 KB
Del
OK
plugin-editor.php
13.1 KB
Del
OK
plugin-install.php
6.76 KB
Del
OK
plugins.php
28.58 KB
Del
OK
post-new.php
2.64 KB
Del
OK
post.php
9.86 KB
Del
OK
press-this.php
2.33 KB
Del
OK
privacy-policy-guide.php
3.54 KB
Del
OK
privacy.php
2.42 KB
Del
OK
profile.php
283 B
Del
OK
revision.php
5.43 KB
Del
OK
setup-config.php
16.43 KB
Del
OK
site-editor.php
4.58 KB
Del
OK
site-health-info.php
3.93 KB
Del
OK
site-health.php
9.54 KB
Del
OK
term.php
2.2 KB
Del
OK
theme-editor.php
14.85 KB
Del
OK
theme-install.php
21.87 KB
Del
OK
themes.php
45.39 KB
Del
OK
tools.php
3.41 KB
Del
OK
update-core.php
43.73 KB
Del
OK
update.php
12.79 KB
Del
OK
upgrade-functions.php
341 B
Del
OK
upgrade.php
5.45 KB
Del
OK
upload.php
13.77 KB
Del
OK
user
-
Del
OK
user-edit.php
37.82 KB
Del
OK
user-new.php
23.63 KB
Del
OK
users.php
21.01 KB
Del
OK
widgets-form-blocks.php
2.48 KB
Del
OK
widgets-form.php
18.94 KB
Del
OK
widgets.php
1.09 KB
Del
OK
Edit: erase-personal-data.php
<?php /** * Privacy tools, Erase Personal Data screen. * * @package WordPress * @subpackage Administration */ /** WordPress Administration Bootstrap */ require_once __DIR__ . '/admin.php'; if ( ! current_user_can( 'erase_others_personal_data' ) || ! current_user_can( 'delete_users' ) ) { wp_die( __( 'Sorry, you are not allowed to erase personal data on this site.' ) ); } // Contextual help - choose Help on the top right of admin panel to preview this. get_current_screen()->add_help_tab( array( 'id' => 'overview', 'title' => __( 'Overview' ), 'content' => '<p>' . __( 'This screen is where you manage requests to erase personal data.' ) . '</p>' . '<p>' . __( 'Privacy Laws around the world require businesses and online services to delete, anonymize, or forget the data they collect about an individual. The rights those laws enshrine are sometimes called the "Right to be Forgotten".' ) . '</p>' . '<p>' . __( 'The tool associates data stored in WordPress with a supplied email address, including profile data and comments.' ) . '</p>' . '<p><strong>' . __( 'Note: As this tool only gathers data from WordPress and participating plugins, you may need to do more to comply with erasure requests. For example, you are also responsible for ensuring that data collected by or stored with the 3rd party services your organization uses gets deleted.' ) . '</strong></p>', ) ); get_current_screen()->add_help_tab( array( 'id' => 'default-data', 'title' => __( 'Default Data' ), 'content' => '<p>' . __( 'WordPress collects (but <em>never</em> publishes) a limited amount of data from logged-in users but then deletes it or anonymizes it. That data can include: ' ) . '</p>' . '<p>' . __( '<strong>Profile Information</strong> — user email address, username, display name, nickname, first name, last name, description/bio, and registration date.' ) . '</p>' . '<p>' . __( '<strong>Community Events Location</strong> — The IP Address of the user which is used for the Upcoming Community Events shown in the dashboard widget.' ) . '</p>' . '<p>' . __( '<strong>Session Tokens</strong> — User login information, IP Addresses, Expiration Date, User Agent (Browser/OS), and Last Login.' ) . '</p>' . '<p>' . __( '<strong>Comments</strong> — WordPress does not delete comments. The software does anonymize (but, again, <em>never</em> publishes) the associated Email Address, IP Address, and User Agent (Browser/OS).' ) . '</p>' . '<p>' . __( '<strong>Media</strong> — A list of URLs for all media file uploads made by the user.' ) . '</p>', ) ); $privacy_policy_guide = '<p>' . sprintf( /* translators: %s: URL to Privacy Policy Guide screen. */ __( 'If you are not sure, check the plugin documentation or contact the plugin author to see if the plugin collects data and if it supports the Data Eraser tool. This information may be available in the <a href="%s">Privacy Policy Guide</a>.' ), admin_url( 'options-privacy.php?tab=policyguide' ) ) . '</p>'; get_current_screen()->add_help_tab( array( 'id' => 'plugin-data', 'title' => __( 'Plugin Data' ), 'content' => '<p>' . __( 'Many plugins may collect or store personal data either in the WordPress database or remotely. Any Erase Personal Data request should delete data from plugins as well.' ) . '</p>' . '<p>' . __( 'If you are a plugin author, you can <a href="https://developer.wordpress.org/plugins/privacy/adding-the-personal-data-eraser-to-your-plugin/" target="_blank">learn more about how to add support for the Personal Data Eraser to a plugin here</a>.' ) . '</p>' . $privacy_policy_guide, ) ); get_current_screen()->set_help_sidebar( '<p><strong>' . __( 'For more information:' ) . '</strong></p>' . '<p>' . __( '<a href="https://wordpress.org/support/article/tools-erase-personal-data-screen/">Documentation on Erase Personal Data</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' ); // Handle list table actions. _wp_personal_data_handle_actions(); // Cleans up failed and expired requests before displaying the list table. _wp_personal_data_cleanup_requests(); wp_enqueue_script( 'privacy-tools' ); add_screen_option( 'per_page', array( 'default' => 20, 'option' => 'remove_personal_data_requests_per_page', ) ); $_list_table_args = array( 'plural' => 'privacy_requests', 'singular' => 'privacy_request', ); $requests_table = _get_list_table( 'WP_Privacy_Data_Removal_Requests_List_Table', $_list_table_args ); $requests_table->screen->set_screen_reader_content( array( 'heading_views' => __( 'Filter erase personal data list' ), 'heading_pagination' => __( 'Erase personal data list navigation' ), 'heading_list' => __( 'Erase personal data list' ), ) ); $requests_table->process_bulk_action(); $requests_table->prepare_items(); require_once ABSPATH . 'wp-admin/admin-header.php'; ?> <div class="wrap nosubsub"> <h1><?php esc_html_e( 'Erase Personal Data' ); ?></h1> <p><?php _e( 'This tool helps site owners comply with local laws and regulations by deleting or anonymizing known data for a given user.' ); ?></p> <hr class="wp-header-end" /> <?php settings_errors(); ?> <form action="<?php echo esc_url( admin_url( 'erase-personal-data.php' ) ); ?>" method="post" class="wp-privacy-request-form"> <h2><?php esc_html_e( 'Add Data Erasure Request' ); ?></h2> <div class="wp-privacy-request-form-field"> <table class="form-table"> <tr> <th scope="row"> <label for="username_or_email_for_privacy_request"><?php esc_html_e( 'Username or email address' ); ?></label> </th> <td> <input type="text" required class="regular-text ltr" id="username_or_email_for_privacy_request" name="username_or_email_for_privacy_request" /> </td> </tr> <tr> <th scope="row"> <?php _e( 'Confirmation email' ); ?> </th> <td> <label for="send_confirmation_email"> <input type="checkbox" name="send_confirmation_email" id="send_confirmation_email" value="1" checked="checked" /> <?php _e( 'Send personal data erasure confirmation email.' ); ?> </label> </td> </tr> </table> <p class="submit"> <?php submit_button( __( 'Send Request' ), 'secondary', 'submit', false ); ?> </p> </div> <?php wp_nonce_field( 'personal-data-request' ); ?> <input type="hidden" name="action" value="add_remove_personal_data_request" /> <input type="hidden" name="type_of_action" value="remove_personal_data" /> </form> <hr /> <?php $requests_table->views(); ?> <form class="search-form wp-clearfix"> <?php $requests_table->search_box( __( 'Search Requests' ), 'requests' ); ?> <input type="hidden" name="filter-status" value="<?php echo isset( $_REQUEST['filter-status'] ) ? esc_attr( sanitize_text_field( $_REQUEST['filter-status'] ) ) : ''; ?>" /> <input type="hidden" name="orderby" value="<?php echo isset( $_REQUEST['orderby'] ) ? esc_attr( sanitize_text_field( $_REQUEST['orderby'] ) ) : ''; ?>" /> <input type="hidden" name="order" value="<?php echo isset( $_REQUEST['order'] ) ? esc_attr( sanitize_text_field( $_REQUEST['order'] ) ) : ''; ?>" /> </form> <form method="post"> <?php $requests_table->display(); $requests_table->embed_scripts(); ?> </form> </div> <?php require_once ABSPATH . 'wp-admin/admin-footer.php';
Save