Email Us About Your Project

Current Dir: /var/www/designbasics/wp-admin/

[FILE] about.php [ edit | delete | rename ]
[FILE] admin-ajax.php [ edit | delete | rename ]
[FILE] admin-footer.php [ edit | delete | rename ]
[FILE] admin-functions.php [ edit | delete | rename ]
[FILE] admin-header.php [ edit | delete | rename ]
[FILE] admin-post.php [ edit | delete | rename ]
[FILE] admin.php [ edit | delete | rename ]
[FILE] async-upload.php [ edit | delete | rename ]
[FILE] authorize-application.php [ edit | delete | rename ]
[FILE] comment.php [ edit | delete | rename ]
[FILE] contribute.php [ edit | delete | rename ]
[FILE] credits.php [ edit | delete | rename ]
[DIR]  css [ delete | rename ]
[FILE] custom-background.php [ edit | delete | rename ]
[FILE] custom-header.php [ edit | delete | rename ]
[FILE] customize.php [ edit | delete | rename ]
[FILE] edit-comments.php [ edit | delete | rename ]
[FILE] edit-form-advanced.php [ edit | delete | rename ]
[FILE] edit-form-blocks.php [ edit | delete | rename ]
[FILE] edit-form-comment.php [ edit | delete | rename ]
[FILE] edit-link-form.php [ edit | delete | rename ]
[FILE] edit-tag-form.php [ edit | delete | rename ]
[FILE] edit-tags.php [ edit | delete | rename ]
[FILE] edit.php [ edit | delete | rename ]
[FILE] erase-personal-data.php [ edit | delete | rename ]
[FILE] export-personal-data.php [ edit | delete | rename ]
[FILE] export.php [ edit | delete | rename ]
[FILE] freedoms.php [ edit | delete | rename ]
[DIR]  images [ delete | rename ]
[FILE] import.php [ edit | delete | rename ]
[DIR]  includes [ delete | rename ]
[FILE] index.php [ edit | delete | rename ]
[FILE] install-helper.php [ edit | delete | rename ]
[FILE] install.php [ edit | delete | rename ]
[DIR]  js [ delete | rename ]
[FILE] link-add.php [ edit | delete | rename ]
[FILE] link-manager.php [ edit | delete | rename ]
[FILE] link-parse-opml.php [ edit | delete | rename ]
[FILE] link.php [ edit | delete | rename ]
[FILE] load-scripts.php [ edit | delete | rename ]
[FILE] load-styles.php [ edit | delete | rename ]
[DIR]  maint [ delete | rename ]
[FILE] media-new.php [ edit | delete | rename ]
[FILE] media-upload.php [ edit | delete | rename ]
[FILE] media.php [ edit | delete | rename ]
[FILE] menu-header.php [ edit | delete | rename ]
[FILE] menu.php [ edit | delete | rename ]
[FILE] moderation.php [ edit | delete | rename ]
[FILE] ms-admin.php [ edit | delete | rename ]
[FILE] ms-delete-site.php [ edit | delete | rename ]
[FILE] ms-edit.php [ edit | delete | rename ]
[FILE] ms-options.php [ edit | delete | rename ]
[FILE] ms-sites.php [ edit | delete | rename ]
[FILE] ms-themes.php [ edit | delete | rename ]
[FILE] ms-upgrade-network.php [ edit | delete | rename ]
[FILE] ms-users.php [ edit | delete | rename ]
[FILE] my-sites.php [ edit | delete | rename ]
[FILE] nav-menus.php [ edit | delete | rename ]
[DIR]  network [ delete | rename ]
[FILE] network.php [ edit | delete | rename ]
[FILE] options-discussion.php [ edit | delete | rename ]
[FILE] options-general.php [ edit | delete | rename ]
[FILE] options-head.php [ edit | delete | rename ]
[FILE] options-media.php [ edit | delete | rename ]
[FILE] options-permalink.php [ edit | delete | rename ]
[FILE] options-privacy.php [ edit | delete | rename ]
[FILE] options-reading.php [ edit | delete | rename ]
[FILE] options-writing.php [ edit | delete | rename ]
[FILE] options.php [ edit | delete | rename ]
[FILE] plugin-editor.php [ edit | delete | rename ]
[FILE] plugin-install.php [ edit | delete | rename ]
[FILE] plugins.php [ edit | delete | rename ]
[FILE] post-new.php [ edit | delete | rename ]
[FILE] post.php [ edit | delete | rename ]
[FILE] press-this.php [ edit | delete | rename ]
[FILE] privacy-policy-guide.php [ edit | delete | rename ]
[FILE] privacy.php [ edit | delete | rename ]
[FILE] profile.php [ edit | delete | rename ]
[FILE] revision.php [ edit | delete | rename ]
[FILE] setup-config.php [ edit | delete | rename ]
[FILE] site-editor.php [ edit | delete | rename ]
[FILE] site-health-info.php [ edit | delete | rename ]
[FILE] site-health.php [ edit | delete | rename ]
[FILE] term.php [ edit | delete | rename ]
[FILE] theme-editor.php [ edit | delete | rename ]
[FILE] theme-install.php [ edit | delete | rename ]
[FILE] themes.php [ edit | delete | rename ]
[FILE] tools.php [ edit | delete | rename ]
[FILE] update-core.php [ edit | delete | rename ]
[FILE] update.php [ edit | delete | rename ]
[FILE] upgrade-functions.php [ edit | delete | rename ]
[FILE] upgrade.php [ edit | delete | rename ]
[FILE] upload.php [ edit | delete | rename ]
[DIR]  user [ delete | rename ]
[FILE] user-edit.php [ edit | delete | rename ]
[FILE] user-new.php [ edit | delete | rename ]
[FILE] users.php [ edit | delete | rename ]
[FILE] widgets-form-blocks.php [ edit | delete | rename ]
[FILE] widgets-form.php [ edit | delete | rename ]
[FILE] widgets.php [ edit | delete | rename ]

Viewing: /var/www/designbasics/wp-admin/term.php

<?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';

Upload File: