var
/
www
/
html
/
holz-ideen-emsland.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&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
.htaccess
420
V
E
R
D
.test_fustqz
0
V
E
R
D
about.php
17.4K
V
E
R
D
admin-ajax.php
5K
V
E
R
D
admin-footer.php
2.7K
V
E
R
D
admin-functions.php
479
V
E
R
D
admin-header.php
9.1K
V
E
R
D
admin-post.php
2K
V
E
R
D
async-upload.php
5.5K
V
E
R
D
authorize-application.php
10.1K
V
E
R
D
contribute.php
5.9K
V
E
R
D
credits.php
4.4K
V
E
R
D
custom-background.php
489
V
E
R
D
custom-header.php
499
V
E
R
D
edit-comments.php
14.1K
V
E
R
D
edit-form-advanced.php
28.8K
V
E
R
D
edit-form-blocks.php
14.7K
V
E
R
D
edit-form-comment.php
8.3K
V
E
R
D
edit-link-form.php
6.2K
V
E
R
D
edit-tag-form.php
10.4K
V
E
R
D
edit-tags.php
22K
V
E
R
D
erase-personal-data.php
7.3K
V
E
R
D
export-personal-data.php
7.8K
V
E
R
D
font-library.php
1K
V
E
R
D
freedoms.php
4.8K
V
E
R
D
import.php
7.6K
V
E
R
D
index.php
7.7K
V
E
R
D
install-helper.php
6.8K
V
E
R
D
install.php
17.9K
V
E
R
D
link-add.php
934
V
E
R
D
link-manager.php
4.3K
V
E
R
D
link-parse-opml.php
2.6K
V
E
R
D
link.php
2.9K
V
E
R
D
load-scripts.php
2K
V
E
R
D
load-styles.php
2.9K
V
E
R
D
media-new.php
3.2K
V
E
R
D
media-upload.php
3.6K
V
E
R
D
media.php
819
V
E
R
D
menu-header.php
9.8K
V
E
R
D
moderation.php
307
V
E
R
D
ms-admin.php
196
V
E
R
D
ms-delete-site.php
4.5K
V
E
R
D
ms-edit.php
216
V
E
R
D
ms-options.php
229
V
E
R
D
ms-sites.php
215
V
E
R
D
ms-themes.php
217
V
E
R
D
ms-upgrade-network.php
219
V
E
R
D
ms-users.php
215
V
E
R
D
my-sites.php
4.7K
V
E
R
D
nav-menus.php
49.1K
V
E
R
D
options-connectors.php
1.1K
V
E
R
D
options-discussion.php
15.9K
V
E
R
D
options-general.php
22.3K
V
E
R
D
options-head.php
621
V
E
R
D
options-media.php
6.4K
V
E
R
D
options-permalink.php
21.9K
V
E
R
D
options-privacy.php
9.9K
V
E
R
D
options-reading.php
10K
V
E
R
D
options-writing.php
9.1K
V
E
R
D
options.php
13.9K
V
E
R
D
plugin-editor.php
13.8K
V
E
R
D
plugin-install.php
7K
V
E
R
D
post-new.php
2.7K
V
E
R
D
post.php
10K
V
E
R
D
press-this.php
2.4K
V
E
R
D
privacy-policy-guide.php
3.7K
V
E
R
D
privacy.php
2.8K
V
E
R
D
profile.php
283
V
E
R
D
revision.php
5.7K
V
E
R
D
setup-config.php
17.5K
V
E
R
D
site-editor.php
12.1K
V
E
R
D
site-health-info.php
4.1K
V
E
R
D
site-health.php
10.2K
V
E
R
D
term.php
2.2K
V
E
R
D
theme-editor.php
16.9K
V
E
R
D
theme-install.php
23.7K
V
E
R
D
themes.php
48.2K
V
E
R
D
tools.php
3.4K
V
E
R
D
update-core.php
45.1K
V
E
R
D
update.php
12.8K
V
E
R
D
upgrade-functions.php
341
V
E
R
D
upgrade.php
6.2K
V
E
R
D
user-edit.php
40.4K
V
E
R
D
user-new.php
24.1K
V
E
R
D
widgets-form-blocks.php
5.1K
V
E
R
D
widgets-form.php
19.1K
V
E
R
D