/home/u523506497/domains/mymelon.in/public_html/info/wp-admin UP
<?php
/**
* Edit Term Administration Screen.
*
* @package WordPress
* @subpackage Administration
* @since 4.5.0
*/
/** WordPress Administration Bootstrap */
require_once __DIR__ . '/admin.php';
if ( empty( $_REQUEST['tag_ID'] ) ) {
$sendback = admin_url( 'edit-tags.php' );
if ( ! empty( $taxnow ) ) {
$sendback = add_query_arg( array( 'taxonomy' => $taxnow ), $sendback );
}
if ( 'post' !== get_current_screen()->post_type ) {
$sendback = add_query_arg( 'post_type', get_current_screen()->post_type, $sendback );
}
wp_redirect( sanitize_url( $sendback ) );
exit;
}
$tag_ID = absint( $_REQUEST['tag_ID'] );
$tag = get_term( $tag_ID, $taxnow, OBJECT, 'edit' );
if ( ! $tag instanceof WP_Term ) {
wp_die( __( 'You attempted to edit an item that does not exist. Perhaps it was deleted?' ) );
}
$tax = get_taxonomy( $tag->taxonomy );
$taxonomy = $tax->name;
$title = $tax->labels->edit_item;
if ( ! in_array( $taxonomy, get_taxonomies( array( 'show_ui' => true ) ), true )
|| ! current_user_can( 'edit_term', $tag->term_id )
) {
wp_die(
'<h1>' . __( 'You need a higher level of permission.' ) . '</h1>' .
'<p>' . __( 'Sorry, you are not allowed to edit this item.' ) . '</p>',
403
);
}
$post_type = get_current_screen()->post_type;
// Default to the first object_type associated with the taxonomy if no post type was passed.
if ( empty( $post_type ) ) {
$post_type = reset( $tax->object_type );
}
if ( 'post' !== $post_type ) {
$parent_file = ( 'attachment' === $post_type ) ? 'upload.php' : "edit.php?post_type=$post_type";
$submenu_file = "edit-tags.php?taxonomy=$taxonomy&post_type=$post_type";
} elseif ( 'link_category' === $taxonomy ) {
$parent_file = 'link-manager.php';
$submenu_file = 'edit-tags.php?taxonomy=link_category';
} else {
$parent_file = 'edit.php';
$submenu_file = "edit-tags.php?taxonomy=$taxonomy";
}
get_current_screen()->set_screen_reader_content(
array(
'heading_pagination' => $tax->labels->items_list_navigation,
'heading_list' => $tax->labels->items_list,
)
);
wp_enqueue_script( 'admin-tags' );
require_once ABSPATH . 'wp-admin/admin-header.php';
require ABSPATH . 'wp-admin/edit-tag-form.php';
require_once ABSPATH . 'wp-admin/admin-footer.php';
| about.php | 17994 | V |
| admin-ajax.php | 5146 | V |
| admin-footer.php | 2804 | V |
| admin-functions.php | 472 | V |
| admin-header.php | 9284 | V |
| admin-post.php | 2021 | V |
| admin.php | 12935 | V |
| async-upload.php | 5604 | V |
| authorize-application.php | 10335 | V |
| comment.php | 11643 | V |
| contribute.php | 5656 | V |
| credits.php | 4141 | V |
| css | - | |
| custom-background.php | 482 | V |
| custom-header.php | 492 | V |
| customize.php | 11586 | V |
| edit-comments.php | 14484 | V |
| edit-form-advanced.php | 29481 | V |
| edit-form-blocks.php | 15528 | V |
| edit-form-comment.php | 13980 | V |
| edit-link-form.php | 6347 | V |
| edit-tag-form.php | 10658 | V |
| edit-tags.php | 22510 | V |
| edit.php | 19952 | V |
| erase-personal-data.php | 7505 | V |
| export-personal-data.php | 7940 | V |
| export.php | 11265 | V |
| font-library.php | 1480 | V |
| freedoms.php | 4574 | V |
| images | - | |
| import.php | 7766 | V |
| includes | - | |
| index.php | 7864 | V |
| install-helper.php | 6961 | V |
| install.php | 18375 | V |
| js | - | |
| link-add.php | 934 | V |
| link-manager.php | 4361 | V |
| link-parse-opml.php | 2721 | V |
| link.php | 2957 | V |
| load-scripts.php | 2070 | V |
| load-styles.php | 2995 | V |
| maint | - | |
| media-new.php | 3249 | V |
| media-upload.php | 3668 | V |
| media.php | 819 | V |
| menu-header.php | 10052 | V |
| menu.php | 18134 | V |
| moderation.php | 307 | V |
| ms-admin.php | 196 | V |
| ms-delete-site.php | 4613 | V |
| ms-edit.php | 216 | V |
| ms-options.php | 229 | V |
| ms-sites.php | 215 | V |
| ms-themes.php | 217 | V |
| ms-upgrade-network.php | 219 | V |
| ms-users.php | 215 | V |
| my-sites.php | 4831 | V |
| nav-menus.php | 50199 | V |
| network | - | |
| network.php | 5523 | V |
| options-connectors.php | 1543 | V |
| options-discussion.php | 16403 | V |
| options-general.php | 22855 | V |
| options-head.php | 614 | V |
| options-media.php | 6640 | V |
| options-permalink.php | 22491 | V |
| options-privacy.php | 10704 | V |
| options-reading.php | 10198 | V |
| options-writing.php | 9404 | V |
| options.php | 14266 | V |
| plugin-editor.php | 14071 | V |
| plugin-install.php | 7433 | V |
| plugins.php | 30744 | V |
| post-new.php | 2768 | V |
| post.php | 10821 | V |
| press-this.php | 2470 | V |
| privacy-policy-guide.php | 3756 | V |
| privacy.php | 2512 | V |
| profile.php | 283 | V |
| revision.php | 5836 | V |
| setup-config.php | 17928 | V |
| site-editor.php | 12483 | V |
| site-health-info.php | 4173 | V |
| site-health.php | 10427 | V |
| term.php | 2249 | V |
| theme-editor.php | 17279 | V |
| theme-install.php | 24315 | V |
| themes.php | 49728 | V |
| tools.php | 3514 | V |
| update-core.php | 46202 | V |
| update.php | 13062 | V |
| upgrade-functions.php | 341 | V |
| upgrade.php | 6390 | V |
| upload.php | 15292 | V |
| user | - | |
| user-edit.php | 41844 | V |
| user-new.php | 24664 | V |
| users.php | 25698 | V |
| widgets-form-blocks.php | 5235 | V |
| widgets-form.php | 19588 | V |
| widgets.php | 1112 | V |