<?php
/**
* Link Management Administration Screen.
*
* @package WordPress
* @subpackage Administration
*/
/** Load WordPress Administration Bootstrap */
require_once __DIR__ . '/admin.php';
if ( ! current_user_can( 'manage_links' ) ) {
wp_die( __( 'Sorry, you are not allowed to edit the links for this site.' ) );
}
$wp_list_table = _get_list_table( 'WP_Links_List_Table' );
// Handle bulk deletes.
$doaction = $wp_list_table->current_action();
if ( $doaction && isset( $_REQUEST['linkcheck'] ) ) {
check_admin_referer( 'bulk-bookmarks' );
$redirect_to = admin_url( 'link-manager.php' );
$bulklinks = (array) $_REQUEST['linkcheck'];
if ( 'delete' === $doaction ) {
foreach ( $bulklinks as $link_id ) {
$link_id = (int) $link_id;
wp_delete_link( $link_id );
}
$redirect_to = add_query_arg( 'deleted', count( $bulklinks ), $redirect_to );
} else {
$screen = get_current_screen()->id;
/** This action is documented in wp-admin/edit.php */
$redirect_to = apply_filters( "handle_bulk_actions-{$screen}", $redirect_to, $doaction, $bulklinks ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
}
wp_redirect( $redirect_to );
exit;
} elseif ( ! empty( $_GET['_wp_http_referer'] ) ) {
wp_redirect( remove_query_arg( array( '_wp_http_referer', '_wpnonce' ), wp_unslash( $_SERVER['REQUEST_URI'] ) ) );
exit;
}
$wp_list_table->prepare_items();
// Used in the HTML title tag.
$title = __( 'Links' );
$this_file = 'link-manager.php';
$parent_file = $this_file;
get_current_screen()->add_help_tab(
array(
'id' => 'overview',
'title' => __( 'Overview' ),
'content' =>
'<p>' . sprintf(
/* translators: %s: URL to Widgets screen. */
__( 'You can add links here to be displayed on your site, usually using <a href="%s">Widgets</a>. By default, links to several sites in the WordPress community are included as examples.' ),
'widgets.php'
) . '</p>' .
'<p>' . __( 'Links may be separated into Link Categories; these are different than the categories used on your posts.' ) . '</p>' .
'<p>' . __( 'You can customize the display of this screen using the Screen Options tab and/or the dropdown filters above the links table.' ) . '</p>',
)
);
get_current_screen()->add_help_tab(
array(
'id' => 'deleting-links',
'title' => __( 'Deleting Links' ),
'content' =>
'<p>' . __( 'If you delete a link, it will be removed permanently, as Links do not have a Trash function yet.' ) . '</p>',
)
);
get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://codex.wordpress.org/Links_Screen">Documentation on Managing Links</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
);
get_current_screen()->set_screen_reader_content(
array(
'heading_list' => __( 'Links list' ),
)
);
require_once ABSPATH . 'wp-admin/admin-header.php';
if ( ! current_user_can( 'manage_links' ) ) {
wp_die( __( 'Sorry, you are not allowed to edit the links for this site.' ) );
}
?>
<div class="wrap nosubsub">
<h1 class="wp-heading-inline">
<?php
echo esc_html( $title );
?>
</h1>
<a href="link-add.php" class="page-title-action"><?php echo esc_html__( 'Add Link' ); ?></a>
<?php
if ( isset( $_REQUEST['s'] ) && strlen( $_REQUEST['s'] ) ) {
echo '<span class="subtitle">';
printf(
/* translators: %s: Search query. */
__( 'Search results for: %s' ),
'<strong>' . esc_html( wp_unslash( $_REQUEST['s'] ) ) . '</strong>'
);
echo '</span>';
}
?>
<hr class="wp-header-end">
<?php
if ( isset( $_REQUEST['deleted'] ) ) {
$deleted = (int) $_REQUEST['deleted'];
/* translators: %s: Number of links. */
$deleted_message = sprintf( _n( '%s link deleted.', '%s links deleted.', $deleted ), $deleted );
wp_admin_notice(
$deleted_message,
array(
'id' => 'message',
'additional_classes' => array( 'updated' ),
'dismissible' => true,
)
);
$_SERVER['REQUEST_URI'] = remove_query_arg( array( 'deleted' ), $_SERVER['REQUEST_URI'] );
}
?>
<form id="posts-filter" method="get">
<?php $wp_list_table->search_box( __( 'Search Links' ), 'link' ); ?>
<?php $wp_list_table->display(); ?>
<div id="ajax-response"></div>
</form>
</div>
<?php
require_once ABSPATH . 'wp-admin/admin-footer.php';
| nama | waktu | ukuran | owner | perm | aksi |
|---|---|---|---|---|---|
| .. | |||||
| css/ | 2026-10-22 10:47 | 2.69 MB | 76129f60960:kunden | dxwrx-rx-r | |
| images/ | 2026-10-22 10:47 | 435.84 KB | 76129f60960:kunden | dxwrx-rx-r | |
| includes/ | 2021-01-14 01:34 | 3.03 MB | 76129f60960:kunden | dxwrx-rx-r | |
| js/ | 2024-08-09 01:01 | 1.94 MB | 76129f60960:kunden | dxwrx-rx-r | |
| maint/ | 2014-06-05 20:35 | 7.47 KB | 76129f60960:kunden | dxwrx-rx-r | |
| meta/ | 2014-06-06 18:19 | 0 B | 76129f60960:kunden | dxwrx-rx-r | |
| network/ | 2023-09-21 23:24 | 127.81 KB | 76129f60960:kunden | dxwrx-rx-r | |
| user/ | 2024-08-09 01:01 | 3.66 KB | 76129f60960:kunden | dxwrx-rx-r | |
| about.php | 2026-11-19 21:55 | 19.36 KB | 76129f60960:kunden | -xw-x--x-- | |
| admin-ajax.php | 2024-08-09 01:01 | 5.03 KB | 76129f60960:kunden | -xw-x----- | |
| admin-footer.php | 2026-10-22 10:47 | 2.74 KB | 76129f60960:kunden | -xw-x--x-- | |
| admin-functions.php | 2026-10-22 10:47 | 472 B | 76129f60960:kunden | -xw-x--x-- | |
| admin-header.php | 2026-10-22 10:47 | 9.07 KB | 76129f60960:kunden | -xw-x--x-- | |
| admin-post.php | 2026-10-22 10:47 | 1.97 KB | 76129f60960:kunden | -xw-x--x-- | |
| admin.php | 2026-10-22 10:47 | 12.63 KB | 76129f60960:kunden | -xw-x--x-- | |
| async-upload.php | 2026-10-22 10:47 | 5.47 KB | 76129f60960:kunden | -xw-x--x-- | |
| authorize-application.php | 2024-01-20 23:47 | 10.09 KB | 76129f60960:kunden | -xw-x----- | |
| comment.php | 2026-10-22 10:47 | 11.37 KB | 76129f60960:kunden | -xw-x--x-- | |
| contribute.php | 2026-10-22 10:47 | 5.52 KB | 76129f60960:kunden | -xw-x--x-- | |
| credits.php | 2026-10-22 10:47 | 4.04 KB | 76129f60960:kunden | -xw-x--x-- | |
| custom-background.php | 2026-10-22 10:47 | 482 B | 76129f60960:kunden | -xw-x--x-- | |
| custom-header.php | 2026-10-22 10:47 | 492 B | 76129f60960:kunden | -xw-x--x-- | |
| customize.php | 2026-10-22 10:47 | 11.31 KB | 76129f60960:kunden | -xw-x--x-- | |
| edit-comments.php | 2026-10-22 10:47 | 14.14 KB | 76129f60960:kunden | -xw-x--x-- | |
| edit-form-advanced.php | 2026-10-22 10:47 | 28.79 KB | 76129f60960:kunden | -xw-x--x-- | |
| edit-form-blocks.php | 2026-10-22 10:47 | 15.16 KB | 76129f60960:kunden | -xw-x--x-- | |
| edit-form-comment.php | 2026-10-22 10:47 | 13.65 KB | 76129f60960:kunden | -xw-x--x-- | |
| edit-link-form.php | 2026-10-22 10:47 | 6.2 KB | 76129f60960:kunden | -xw-x--x-- | |
| edit-tag-form.php | 2026-10-22 10:47 | 10.41 KB | 76129f60960:kunden | -xw-x--x-- | |
| edit-tags.php | 2026-10-22 10:47 | 21.98 KB | 76129f60960:kunden | -xw-x--x-- | |
| edit.php | 2026-10-22 10:47 | 19.48 KB | 76129f60960:kunden | -xw-x--x-- | |
| erase-personal-data.php | 2026-10-22 10:47 | 7.33 KB | 76129f60960:kunden | -xw-x--x-- | |
| export-personal-data.php | 2026-10-22 10:47 | 7.75 KB | 76129f60960:kunden | -xw-x--x-- | |
| export.php | 2026-10-22 10:47 | 11 KB | 76129f60960:kunden | -xw-x--x-- | |
| font-library.php | 2026-10-22 10:47 | 1.45 KB | 76129f60960:kunden | -xw-x--x-- | |
| freedoms.php | 2026-10-22 10:47 | 4.47 KB | 76129f60960:kunden | -xw-x--x-- | |
| import.php | 2026-10-22 10:47 | 7.58 KB | 76129f60960:kunden | -xw-x--x-- | |
| index.php | 2024-01-20 23:47 | 7.68 KB | 76129f60960:kunden | -xw-x----- | |
| install-helper.php | 2023-07-04 19:03 | 6.8 KB | 76129f60960:kunden | -xw-x----- | |
| install.php | 2026-10-22 10:47 | 17.94 KB | 76129f60960:kunden | -xw-x--x-- | |
| link-add.php | 2026-10-22 10:47 | 934 B | 76129f60960:kunden | -xw-x--x-- | |
| link-manager.php | 2026-10-22 10:47 | 4.26 KB | 76129f60960:kunden | -xw-x--x-- | |
| link-parse-opml.php | 2026-10-22 10:47 | 2.66 KB | 76129f60960:kunden | -xw-x--x-- | |
| link.php | 2024-08-09 01:01 | 2.89 KB | 76129f60960:kunden | -xw-x----- | |
| load-scripts.php | 2026-10-22 10:47 | 2.02 KB | 76129f60960:kunden | -xw-x--x-- | |
| load-styles.php | 2026-10-22 10:47 | 2.92 KB | 76129f60960:kunden | -xw-x--x-- | |
| media-new.php | 2026-10-22 10:47 | 3.17 KB | 76129f60960:kunden | -xw-x--x-- | |
| media-upload.php | 2026-10-22 10:47 | 3.58 KB | 76129f60960:kunden | -xw-x--x-- | |
| media.php | 2024-08-09 01:01 | 819 B | 76129f60960:kunden | -xw-x----- | |
| menu-header.php | 2026-10-22 10:47 | 9.82 KB | 76129f60960:kunden | -xw-x--x-- | |
| menu.php | 2026-10-22 10:47 | 17.71 KB | 76129f60960:kunden | -xw-x--x-- | |
| moderation.php | 2021-01-14 01:34 | 307 B | 76129f60960:kunden | -xw-x----- | |
| ms-admin.php | 2021-01-14 01:34 | 196 B | 76129f60960:kunden | -xw-x----- | |
| ms-delete-site.php | 2026-10-22 10:47 | 4.5 KB | 76129f60960:kunden | -xw-x--x-- | |
| ms-edit.php | 2021-01-14 01:34 | 216 B | 76129f60960:kunden | -xw-x----- | |
| ms-options.php | 2024-08-09 01:01 | 229 B | 76129f60960:kunden | -xw-x----- | |
| ms-sites.php | 2021-01-14 01:34 | 215 B | 76129f60960:kunden | -xw-x----- | |
| ms-themes.php | 2021-01-14 01:34 | 217 B | 76129f60960:kunden | -xw-x----- | |
| ms-upgrade-network.php | 2021-01-14 01:34 | 219 B | 76129f60960:kunden | -xw-x----- | |
| ms-users.php | 2021-01-14 01:34 | 215 B | 76129f60960:kunden | -xw-x----- | |
| my-sites.php | 2026-10-22 10:47 | 4.72 KB | 76129f60960:kunden | -xw-x--x-- | |
| nav-menus.php | 2026-10-22 10:47 | 49.02 KB | 76129f60960:kunden | -xw-x--x-- | |
| network.php | 2026-10-22 10:47 | 5.39 KB | 76129f60960:kunden | -xw-x--x-- | |
| options-connectors.php | 2026-10-22 10:47 | 1.51 KB | 76129f60960:kunden | -xw-x--x-- | |
| options-discussion.php | 2026-10-22 10:47 | 16.02 KB | 76129f60960:kunden | -xw-x--x-- | |
| options-general.php | 2026-10-22 10:47 | 22.32 KB | 76129f60960:kunden | -xw-x--x-- | |
| options-head.php | 2026-10-22 10:47 | 614 B | 76129f60960:kunden | -xw-x--x-- | |
| options-media.php | 2026-10-22 10:47 | 6.48 KB | 76129f60960:kunden | -xw-x--x-- | |
| options-permalink.php | 2026-10-22 10:47 | 21.96 KB | 76129f60960:kunden | -xw-x--x-- | |
| options-privacy.php | 2026-10-22 10:47 | 10.45 KB | 76129f60960:kunden | -xw-x--x-- | |
| options-reading.php | 2026-10-22 10:47 | 9.96 KB | 76129f60960:kunden | -xw-x--x-- | |
| options-writing.php | 2026-10-22 10:47 | 9.18 KB | 76129f60960:kunden | -xw-x--x-- | |
| options.php | 2026-10-22 10:47 | 13.93 KB | 76129f60960:kunden | -xw-x--x-- | |
| plugin-editor.php | 2026-10-22 10:47 | 13.74 KB | 76129f60960:kunden | -xw-x--x-- | |
| plugin-install.php | 2026-10-22 10:47 | 7.26 KB | 76129f60960:kunden | -xw-x--x-- | |
| plugins.php | 2026-10-22 10:47 | 30.02 KB | 76129f60960:kunden | -xw-x--x-- | |
| post-new.php | 2024-08-09 01:01 | 2.7 KB | 76129f60960:kunden | -xw-x----- | |
| post.php | 2026-10-22 10:47 | 10.57 KB | 76129f60960:kunden | -xw-x--x-- | |
| press-this.php | 2026-10-22 10:47 | 2.41 KB | 76129f60960:kunden | -xw-x--x-- | |
| privacy-policy-guide.php | 2024-08-09 01:01 | 3.67 KB | 76129f60960:kunden | -xw-x----- | |
| privacy.php | 2026-10-22 10:47 | 2.45 KB | 76129f60960:kunden | -xw-x--x-- | |
| profile.php | 2021-01-14 01:34 | 283 B | 76129f60960:kunden | -xw-x----- | |
| revision.php | 2026-10-22 10:47 | 5.7 KB | 76129f60960:kunden | -xw-x--x-- | |
| setup-config.php | 2026-10-22 10:47 | 17.51 KB | 76129f60960:kunden | -xw-x--x-- | |
| site-editor.php | 2026-10-22 10:47 | 12.19 KB | 76129f60960:kunden | -xw-x--x-- | |
| site-health-info.php | 2026-10-22 10:47 | 4.08 KB | 76129f60960:kunden | -xw-x--x-- | |
| site-health.php | 2026-10-22 10:47 | 10.18 KB | 76129f60960:kunden | -xw-x--x-- | |
| term.php | 2023-02-04 23:48 | 2.2 KB | 76129f60960:kunden | -xw-x----- | |
| theme-editor.php | 2026-10-22 10:47 | 16.87 KB | 76129f60960:kunden | -xw-x--x-- | |
| theme-install.php | 2026-10-22 10:47 | 23.75 KB | 76129f60960:kunden | -xw-x--x-- | |
| themes.php | 2026-10-22 10:47 | 48.56 KB | 76129f60960:kunden | -xw-x--x-- | |
| tools.php | 2023-07-04 19:03 | 3.43 KB | 76129f60960:kunden | -xw-x----- | |
| update-core.php | 2026-10-22 10:47 | 45.12 KB | 76129f60960:kunden | -xw-x--x-- | |
| update.php | 2026-10-22 10:47 | 12.76 KB | 76129f60960:kunden | -xw-x--x-- | |
| upgrade-functions.php | 2021-01-14 01:34 | 341 B | 76129f60960:kunden | -xw-x----- | |
| upgrade.php | 2026-10-22 10:47 | 6.24 KB | 76129f60960:kunden | -xw-x--x-- | |
| upload.php | 2026-10-22 10:47 | 14.93 KB | 76129f60960:kunden | -xw-x--x-- | |
| user-edit.php | 2026-11-19 21:55 | 40.89 KB | 76129f60960:kunden | -xw-x--x-- | |
| user-new.php | 2026-10-22 10:47 | 24.09 KB | 76129f60960:kunden | -xw-x--x-- | |
| users.php | 2026-11-19 21:55 | 25.15 KB | 76129f60960:kunden | -xw-x--x-- | |
| widgets-form-blocks.php | 2026-10-22 10:47 | 5.11 KB | 76129f60960:kunden | -xw-x--x-- | |
| widgets-form.php | 2026-10-22 10:47 | 19.13 KB | 76129f60960:kunden | -xw-x--x-- | |
| widgets.php | 2023-02-04 23:48 | 1.09 KB | 76129f60960:kunden | -xw-x----- | |