var/www/html/servotec-doerpen.de/wp-admin | uid:33
term.php [X]
<?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&amp;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';
css/-O R D
images/-O R D
includes/-O R D
js/-O R D
maint/-O R D
network/-O R D
user/-O R D
about.php17.7KV E R D
admin-functions.php479V E R D
admin-header.php9.1KV E R D
admin-post.php2KV E R D
admin.php12.3KV E R D
async-upload.php5.5KV E R D
authorize-application.php10.1KV E R D
comment.php11.3KV E R D
contribute.php5.9KV E R D
credits.php4.4KV E R D
custom-header.php499V E R D
customize.php11KV E R D
edit-comments.php14.4KV E R D
edit-form-advanced.php28.8KV E R D
edit-form-blocks.php14.6KV E R D
edit-link-form.php6.2KV E R D
edit-tag-form.php10.4KV E R D
edit-tags.php22KV E R D
edit.php19.5KV E R D
erase-personal-data.php7.3KV E R D
export-personal-data.php7.8KV E R D
export.php11KV E R D
freedoms.php4.8KV E R D
import.php7.6KV E R D
install.php17.8KV E R D
link-add.php934V E R D
link-manager.php4.3KV E R D
load-scripts.php2KV E R D
load-styles.php2.9KV E R D
media-upload.php3.6KV E R D
menu-header.php9.8KV E R D
menu.php17.5KV E R D
moderation.php307V E R D
ms-admin.php196V E R D
ms-delete-site.php4.5KV E R D
ms-edit.php216V E R D
ms-options.php229V E R D
ms-sites.php215V E R D
ms-themes.php217V E R D
ms-users.php215V E R D
nav-menus.php48.2KV E R D
network.php5.4KV E R D
options-discussion.php15.9KV E R D
options-general.php21.6KV E R D
options-head.php621V E R D
options-media.php6.4KV E R D
options-permalink.php21.2KV E R D
options-privacy.php10KV E R D
options-reading.php9.9KV E R D
options-writing.php9.1KV E R D
plugin-editor.php13.8KV E R D
plugin-install.php7KV E R D
plugins.php30KV E R D
post-new.php2.7KV E R D
post.php10KV E R D
press-this.php2.3KV E R D
privacy-policy-guide.php3.7KV E R D
revision.php5.7KV E R D
setup-config.php17.5KV E R D
site-editor.php12KV E R D
site-health-info.php4KV E R D
term.php2.2KV E R D
theme-editor.php16.9KV E R D
theme-install.php23.4KV E R D
tools.php3.4KV E R D
update-core.php45.4KV E R D
update.php12.8KV E R D
upgrade-functions.php341V E R D
upload.php14.9KV E R D
user-edit.php40.4KV E R D
users.php23.3KV E R D
widgets-form-blocks.php5.1KV E R D
widgets-form.php19.3KV E R D
widgets.php1.1KV E R D