golden hour
/var/www/html/wp-admin
⬆️ Go Up
Upload
File/Folder
Size
Actions
about.php
19.81 KB
Del
OK
admin-ajax.php
4.83 KB
Del
OK
admin-footer.php
2.76 KB
Del
OK
admin-functions.php
406 B
Del
OK
admin-header.php
8.2 KB
Del
OK
admin-post.php
1.63 KB
Del
OK
admin.php
11.85 KB
Del
OK
async-upload.php
4.58 KB
Del
OK
authorize-application.php
9.62 KB
Del
OK
comment.php
11.17 KB
Del
OK
credits.php
3.55 KB
Del
OK
css
-
Del
OK
custom-background.php
416 B
Del
OK
custom-header.php
426 B
Del
OK
customize.php
10.48 KB
Del
OK
edit-comments.php
13.64 KB
Del
OK
edit-form-advanced.php
28.29 KB
Del
OK
edit-form-blocks.php
10.39 KB
Del
OK
edit-form-comment.php
7.97 KB
Del
OK
edit-link-form.php
6.15 KB
Del
OK
edit-tag-form.php
10.41 KB
Del
OK
edit-tags.php
21.93 KB
Del
OK
edit.php
18.77 KB
Del
OK
erase-personal-data.php
7.11 KB
Del
OK
error_log
8.35 KB
Del
OK
export-personal-data.php
7.08 KB
Del
OK
export.php
10.72 KB
Del
OK
freedoms.php
4.65 KB
Del
OK
images
-
Del
OK
import.php
7.35 KB
Del
OK
includes
-
Del
OK
index.php
7 KB
Del
OK
install-helper.php
5.89 KB
Del
OK
install.php
16.5 KB
Del
OK
js
-
Del
OK
link-add.php
711 B
Del
OK
link-manager.php
4.12 KB
Del
OK
link-parse-opml.php
2.59 KB
Del
OK
link.php
2.67 KB
Del
OK
load-scripts.php
1.65 KB
Del
OK
load-styles.php
2.4 KB
Del
OK
maint
-
Del
OK
media-new.php
3.13 KB
Del
OK
media-upload.php
3.49 KB
Del
OK
media.php
5.47 KB
Del
OK
menu-header.php
9.68 KB
Del
OK
menu.php
14.6 KB
Del
OK
moderation.php
307 B
Del
OK
ms-admin.php
196 B
Del
OK
ms-delete-site.php
4.15 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.53 KB
Del
OK
nav-menus.php
45.34 KB
Del
OK
network
-
Del
OK
network.php
5.25 KB
Del
OK
options-discussion.php
15.08 KB
Del
OK
options-general.php
14.63 KB
Del
OK
options-head.php
492 B
Del
OK
options-media.php
6.15 KB
Del
OK
options-permalink.php
19.19 KB
Del
OK
options-privacy.php
9.1 KB
Del
OK
options-reading.php
9.63 KB
Del
OK
options-writing.php
8.46 KB
Del
OK
options.php
12.47 KB
Del
OK
plugin-editor.php
13.02 KB
Del
OK
plugin-install.php
6.21 KB
Del
OK
plugins.php
28.52 KB
Del
OK
post-new.php
2.64 KB
Del
OK
post.php
9.87 KB
Del
OK
press-this.php
2.33 KB
Del
OK
privacy-policy-guide.php
3.51 KB
Del
OK
privacy.php
2.39 KB
Del
OK
profile.php
283 B
Del
OK
revision.php
5.4 KB
Del
OK
setup-config.php
16.61 KB
Del
OK
site-health-info.php
3.88 KB
Del
OK
site-health.php
8.51 KB
Del
OK
term.php
2.2 KB
Del
OK
theme-editor.php
14.69 KB
Del
OK
theme-install.php
21.68 KB
Del
OK
themes.php
44.81 KB
Del
OK
tools.php
3.38 KB
Del
OK
update-core.php
43.45 KB
Del
OK
update.php
12.59 KB
Del
OK
upgrade-functions.php
341 B
Del
OK
upgrade.php
5.47 KB
Del
OK
upload.php
13.7 KB
Del
OK
user
-
Del
OK
user-edit.php
33.45 KB
Del
OK
user-new.php
23.41 KB
Del
OK
users.php
21 KB
Del
OK
widgets-form-blocks.php
2.35 KB
Del
OK
widgets-form.php
18.94 KB
Del
OK
widgets.php
1.06 KB
Del
OK
Edit: link.php
<?php /** * Manage link administration actions. * * This page is accessed by the link management pages and handles the forms and * Ajax processes for link actions. * * @package WordPress * @subpackage Administration */ /** Load WordPress Administration Bootstrap */ require_once __DIR__ . '/admin.php'; wp_reset_vars( array( 'action', 'cat_id', 'link_id' ) ); if ( ! current_user_can( 'manage_links' ) ) { wp_link_manager_disabled_message(); } if ( ! empty( $_POST['deletebookmarks'] ) ) { $action = 'deletebookmarks'; } if ( ! empty( $_POST['move'] ) ) { $action = 'move'; } if ( ! empty( $_POST['linkcheck'] ) ) { $linkcheck = $_POST['linkcheck']; } $this_file = admin_url( 'link-manager.php' ); switch ( $action ) { case 'deletebookmarks': check_admin_referer( 'bulk-bookmarks' ); // For each link id (in $linkcheck[]) change category to selected value. if ( count( $linkcheck ) === 0 ) { wp_redirect( $this_file ); exit; } $deleted = 0; foreach ( $linkcheck as $link_id ) { $link_id = (int) $link_id; if ( wp_delete_link( $link_id ) ) { $deleted++; } } wp_redirect( "$this_file?deleted=$deleted" ); exit; case 'move': check_admin_referer( 'bulk-bookmarks' ); // For each link id (in $linkcheck[]) change category to selected value. if ( count( $linkcheck ) === 0 ) { wp_redirect( $this_file ); exit; } $all_links = implode( ',', $linkcheck ); /* * Should now have an array of links we can change: * $q = $wpdb->query("update $wpdb->links SET link_category='$category' WHERE link_id IN ($all_links)"); */ wp_redirect( $this_file ); exit; case 'add': check_admin_referer( 'add-bookmark' ); $redir = wp_get_referer(); if ( add_link() ) { $redir = add_query_arg( 'added', 'true', $redir ); } wp_redirect( $redir ); exit; case 'save': $link_id = (int) $_POST['link_id']; check_admin_referer( 'update-bookmark_' . $link_id ); edit_link( $link_id ); wp_redirect( $this_file ); exit; case 'delete': $link_id = (int) $_GET['link_id']; check_admin_referer( 'delete-bookmark_' . $link_id ); wp_delete_link( $link_id ); wp_redirect( $this_file ); exit; case 'edit': wp_enqueue_script( 'link' ); wp_enqueue_script( 'xfn' ); if ( wp_is_mobile() ) { wp_enqueue_script( 'jquery-touch-punch' ); } $parent_file = 'link-manager.php'; $submenu_file = 'link-manager.php'; $title = __( 'Edit Link' ); $link_id = (int) $_GET['link_id']; $link = get_link_to_edit( $link_id ); if ( ! $link ) { wp_die( __( 'Link not found.' ) ); } require ABSPATH . 'wp-admin/edit-link-form.php'; require_once ABSPATH . 'wp-admin/admin-footer.php'; break; default: break; }
Save