SILENT KILLERPanel

Current Path: > home > codekrsu > > escapematrixonline.com > > wp-admin > >


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/codekrsu//escapematrixonline.com//wp-admin//

NameTypeSizeLast ModifiedActions
css Directory - -
images Directory - -
includes Directory - -
js Directory - -
maint Directory - -
network Directory - -
user Directory - -
about.php File 19562 bytes July 15 2025 19:09:38.
admin-ajax.php File 5146 bytes July 04 2024 15:22:14.
admin-footer.php File 2834 bytes September 26 2024 19:41:14.
admin-functions.php File 479 bytes January 22 2025 19:06:22.
admin-header.php File 9336 bytes January 24 2025 15:58:24.
admin-post.php File 2021 bytes January 16 2025 21:18:24.
admin.php File 12597 bytes January 16 2025 21:18:24.
async-upload.php File 4983 bytes March 16 2025 20:11:24.
authorize-application.php File 10335 bytes September 14 2023 04:54:20.
comment.php File 11622 bytes May 01 2024 22:01:12.
contribute.php File 5727 bytes February 27 2024 04:51:12.
credits.php File 4212 bytes December 22 2024 04:16:24.
custom-background.php File 489 bytes January 22 2025 19:06:22.
custom-header.php File 499 bytes January 22 2025 19:06:22.
customize.php File 11174 bytes March 06 2025 20:01:24.
edit-comments.php File 14726 bytes September 17 2023 19:33:18.
edit-form-advanced.php File 29527 bytes March 19 2025 00:09:26.
edit-form-blocks.php File 14713 bytes March 10 2025 14:34:22.
edit-form-comment.php File 8543 bytes November 12 2024 01:43:20.
edit-link-form.php File 6354 bytes February 08 2025 16:44:24.
edit-tag-form.php File 10688 bytes December 06 2024 22:07:22.
edit-tags.php File 22533 bytes January 29 2025 22:40:22.
edit.php File 19952 bytes October 04 2024 02:46:16.
erase-personal-data.php File 7505 bytes April 18 2024 00:21:16.
error_log File 420452 bytes August 01 2025 03:55:43.
export-personal-data.php File 7941 bytes April 18 2024 00:21:16.
export.php File 11288 bytes May 27 2024 00:51:14.
freedoms.php File 4645 bytes January 21 2025 03:04:28.
import.php File 7766 bytes February 25 2025 23:34:16.
index.php File 7864 bytes September 14 2023 04:54:20.
install-helper.php File 6961 bytes November 20 2022 19:10:16.
install.php File 18374 bytes February 11 2025 16:14:22.
link-add.php File 934 bytes February 08 2025 16:44:24.
link-manager.php File 4361 bytes February 08 2025 16:44:24.
link-parse-opml.php File 2697 bytes June 14 2024 00:50:14.
link.php File 2957 bytes May 01 2024 22:01:12.
load-scripts.php File 2070 bytes August 26 2024 03:48:14.
load-styles.php File 2995 bytes November 04 2024 20:51:18.
media-new.php File 3261 bytes February 23 2023 15:38:22.
media-upload.php File 3668 bytes February 08 2025 20:53:18.
media.php File 819 bytes May 01 2024 22:01:12.
menu-header.php File 10059 bytes February 21 2025 02:29:22.
menu.php File 17374 bytes March 03 2025 22:22:26.
moderation.php File 307 bytes February 06 2020 11:33:12.
ms-admin.php File 196 bytes February 06 2020 11:33:12.
ms-delete-site.php File 4294 bytes September 03 2024 22:19:14.
ms-edit.php File 216 bytes February 06 2020 11:33:12.
ms-options.php File 229 bytes June 22 2024 15:47:16.
ms-sites.php File 215 bytes February 06 2020 11:33:12.
ms-themes.php File 217 bytes February 06 2020 11:33:12.
ms-upgrade-network.php File 219 bytes February 06 2020 11:33:12.
ms-users.php File 215 bytes February 06 2020 11:33:12.
my-sites.php File 4858 bytes September 05 2023 23:26:26.
nav-menus.php File 49417 bytes March 19 2025 01:48:26.
network.php File 5522 bytes March 09 2024 03:38:08.
options-discussion.php File 15767 bytes January 13 2025 19:57:24.
options-general.php File 22095 bytes February 11 2025 20:57:22.
options-head.php File 621 bytes January 22 2025 19:06:22.
options-media.php File 6505 bytes January 13 2025 19:57:24.
options-permalink.php File 21718 bytes March 09 2024 03:38:08.
options-privacy.php File 10190 bytes January 21 2025 03:04:28.
options-reading.php File 10266 bytes May 14 2024 22:05:12.
options-writing.php File 9317 bytes March 09 2024 03:38:08.
options.php File 13768 bytes September 02 2024 04:13:16.
plugin-editor.php File 13991 bytes February 28 2025 04:04:28.
plugin-install.php File 7124 bytes February 20 2024 12:27:06.
plugins.php File 30724 bytes February 08 2025 16:44:24.
post-new.php File 2768 bytes June 15 2024 16:34:14.
post.php File 10209 bytes June 15 2024 16:34:14.
press-this.php File 2396 bytes February 27 2024 01:35:08.
privacy-policy-guide.php File 3756 bytes November 22 2023 22:44:24.
privacy.php File 2583 bytes January 21 2025 03:04:28.
profile.php File 283 bytes February 06 2020 11:33:12.
revision.php File 5851 bytes May 01 2024 22:01:12.
setup-config.php File 17904 bytes January 13 2025 19:57:24.
site-editor.php File 12115 bytes April 08 2025 02:15:30.
site-health-info.php File 4088 bytes February 22 2025 17:12:20.
site-health.php File 10443 bytes May 01 2024 22:01:12.
term.php File 2249 bytes June 01 2022 22:14:10.
theme-editor.php File 15964 bytes February 28 2025 04:04:28.
theme-install.php File 23926 bytes February 08 2025 16:44:24.
themes.php File 49276 bytes March 10 2025 22:16:28.
tools.php File 3514 bytes February 23 2023 15:38:22.
update-core.php File 46519 bytes October 03 2024 04:25:16.
update.php File 13092 bytes January 30 2024 19:23:12.
upgrade-functions.php File 341 bytes February 06 2020 11:33:12.
upgrade.php File 6477 bytes February 11 2025 16:14:22.
upload.php File 15199 bytes February 08 2025 16:44:24.
user-edit.php File 40744 bytes March 13 2025 14:04:34.
user-new.php File 24623 bytes March 03 2025 04:35:24.
users.php File 23838 bytes February 08 2025 20:53:18.
widgets-form-blocks.php File 5086 bytes October 15 2024 12:52:18.
widgets-form.php File 19625 bytes January 16 2024 22:31:14.
widgets.php File 1112 bytes March 22 2022 23:59:04.

Reading File: /home/codekrsu//escapematrixonline.com//wp-admin///post.php

<?php
/**
 * Edit post administration panel.
 *
 * Manage Post actions: post, edit, delete, etc.
 *
 * @package WordPress
 * @subpackage Administration
 */

/** WordPress Administration Bootstrap */
require_once __DIR__ . '/admin.php';

$parent_file  = 'edit.php';
$submenu_file = 'edit.php';

$action = ! empty( $_REQUEST['action'] ) ? sanitize_text_field( $_REQUEST['action'] ) : '';

if ( isset( $_GET['post'] ) && isset( $_POST['post_ID'] ) && (int) $_GET['post'] !== (int) $_POST['post_ID'] ) {
	wp_die( __( 'A post ID mismatch has been detected.' ), __( 'Sorry, you are not allowed to edit this item.' ), 400 );
} elseif ( isset( $_GET['post'] ) ) {
	$post_id = (int) $_GET['post'];
} elseif ( isset( $_POST['post_ID'] ) ) {
	$post_id = (int) $_POST['post_ID'];
} else {
	$post_id = 0;
}
$post_ID = $post_id;

/**
 * @global string       $post_type        Global post type.
 * @global WP_Post_Type $post_type_object Global post type object.
 * @global WP_Post      $post             Global post object.
 */
global $post_type, $post_type_object, $post;

if ( $post_id ) {
	$post = get_post( $post_id );
}

if ( $post ) {
	$post_type        = $post->post_type;
	$post_type_object = get_post_type_object( $post_type );
}

if ( isset( $_POST['post_type'] ) && $post && $post_type !== $_POST['post_type'] ) {
	wp_die( __( 'A post type mismatch has been detected.' ), __( 'Sorry, you are not allowed to edit this item.' ), 400 );
}

if ( isset( $_POST['deletepost'] ) ) {
	$action = 'delete';
} elseif ( isset( $_POST['wp-preview'] ) && 'dopreview' === $_POST['wp-preview'] ) {
	$action = 'preview';
}

$sendback = wp_get_referer();
if ( ! $sendback ||
	str_contains( $sendback, 'post.php' ) ||
	str_contains( $sendback, 'post-new.php' ) ) {
	if ( 'attachment' === $post_type ) {
		$sendback = admin_url( 'upload.php' );
	} else {
		$sendback = admin_url( 'edit.php' );
		if ( ! empty( $post_type ) ) {
			$sendback = add_query_arg( 'post_type', $post_type, $sendback );
		}
	}
} else {
	$sendback = remove_query_arg( array( 'trashed', 'untrashed', 'deleted', 'ids' ), $sendback );
}

switch ( $action ) {
	case 'post-quickdraft-save':
		// Check nonce and capabilities.
		$nonce     = $_REQUEST['_wpnonce'];
		$error_msg = false;

		// For output of the Quick Draft dashboard widget.
		require_once ABSPATH . 'wp-admin/includes/dashboard.php';

		if ( ! wp_verify_nonce( $nonce, 'add-post' ) ) {
			$error_msg = __( 'Unable to submit this form, please refresh and try again.' );
		}

		if ( ! current_user_can( get_post_type_object( 'post' )->cap->create_posts ) ) {
			exit;
		}

		if ( $error_msg ) {
			return wp_dashboard_quick_press( $error_msg );
		}

		$post = get_post( $_REQUEST['post_ID'] );
		check_admin_referer( 'add-' . $post->post_type );

		$_POST['comment_status'] = get_default_comment_status( $post->post_type );
		$_POST['ping_status']    = get_default_comment_status( $post->post_type, 'pingback' );

		// Wrap Quick Draft content in the Paragraph block.
		if ( ! str_contains( $_POST['content'], '<!-- wp:paragraph -->' ) ) {
			$_POST['content'] = sprintf(
				'<!-- wp:paragraph -->%s<!-- /wp:paragraph -->',
				str_replace( array( "\r\n", "\r", "\n" ), '<br />', $_POST['content'] )
			);
		}

		edit_post();
		wp_dashboard_quick_press();
		exit;

	case 'postajaxpost':
	case 'post':
		check_admin_referer( 'add-' . $post_type );
		$post_id = 'postajaxpost' === $action ? edit_post() : write_post();
		redirect_post( $post_id );
		exit;

	case 'edit':
		$editing = true;

		if ( empty( $post_id ) ) {
			wp_redirect( admin_url( 'post.php' ) );
			exit;
		}

		if ( ! $post ) {
			wp_die( __( 'You attempted to edit an item that does not exist. Perhaps it was deleted?' ) );
		}

		if ( ! $post_type_object ) {
			wp_die( __( 'Invalid post type.' ) );
		}

		if ( ! in_array( $typenow, get_post_types( array( 'show_ui' => true ) ), true ) ) {
			wp_die( __( 'Sorry, you are not allowed to edit posts in this post type.' ) );
		}

		if ( ! current_user_can( 'edit_post', $post_id ) ) {
			wp_die( __( 'Sorry, you are not allowed to edit this item.' ) );
		}

		if ( 'trash' === $post->post_status ) {
			wp_die( __( 'You cannot edit this item because it is in the Trash. Please restore it and try again.' ) );
		}

		if ( ! empty( $_GET['get-post-lock'] ) ) {
			check_admin_referer( 'lock-post_' . $post_id );
			wp_set_post_lock( $post_id );
			wp_redirect( get_edit_post_link( $post_id, 'url' ) );
			exit;
		}

		$post_type = $post->post_type;
		if ( 'post' === $post_type ) {
			$parent_file   = 'edit.php';
			$submenu_file  = 'edit.php';
			$post_new_file = 'post-new.php';
		} elseif ( 'attachment' === $post_type ) {
			$parent_file   = 'upload.php';
			$submenu_file  = 'upload.php';
			$post_new_file = 'media-new.php';
		} else {
			if ( isset( $post_type_object ) && $post_type_object->show_in_menu && true !== $post_type_object->show_in_menu ) {
				$parent_file = $post_type_object->show_in_menu;
			} else {
				$parent_file = "edit.php?post_type=$post_type";
			}
			$submenu_file  = "edit.php?post_type=$post_type";
			$post_new_file = "post-new.php?post_type=$post_type";
		}

		$title = $post_type_object->labels->edit_item;

		/**
		 * Allows replacement of the editor.
		 *
		 * @since 4.9.0
		 *
		 * @param bool    $replace Whether to replace the editor. Default false.
		 * @param WP_Post $post    Post object.
		 */
		if ( true === apply_filters( 'replace_editor', false, $post ) ) {
			break;
		}

		if ( use_block_editor_for_post( $post ) ) {
			require ABSPATH . 'wp-admin/edit-form-blocks.php';
			break;
		}

		if ( ! wp_check_post_lock( $post->ID ) ) {
			$active_post_lock = wp_set_post_lock( $post->ID );

			if ( 'attachment' !== $post_type ) {
				wp_enqueue_script( 'autosave' );
			}
		}

		$post = get_post( $post_id, OBJECT, 'edit' );

		if ( post_type_supports( $post_type, 'comments' ) ) {
			wp_enqueue_script( 'admin-comments' );
			enqueue_comment_hotkeys_js();
		}

		require ABSPATH . 'wp-admin/edit-form-advanced.php';

		break;

	case 'editattachment':
		check_admin_referer( 'update-post_' . $post_id );

		// Don't let these be changed.
		unset( $_POST['guid'] );
		$_POST['post_type'] = 'attachment';

		// Update the thumbnail filename.
		$newmeta          = wp_get_attachment_metadata( $post_id, true );
		$newmeta['thumb'] = wp_basename( $_POST['thumb'] );

		wp_update_attachment_metadata( $post_id, $newmeta );

		// Intentional fall-through to trigger the edit_post() call.
	case 'editpost':
		check_admin_referer( 'update-post_' . $post_id );

		$post_id = edit_post();

		// Session cookie flag that the post was saved.
		if ( isset( $_COOKIE['wp-saving-post'] ) && $_COOKIE['wp-saving-post'] === $post_id . '-check' ) {
			setcookie( 'wp-saving-post', $post_id . '-saved', time() + DAY_IN_SECONDS, ADMIN_COOKIE_PATH, COOKIE_DOMAIN, is_ssl() );
		}

		redirect_post( $post_id ); // Send user on their way while we keep working.

		exit;

	case 'trash':
		check_admin_referer( 'trash-post_' . $post_id );

		if ( ! $post ) {
			wp_die( __( 'The item you are trying to move to the Trash no longer exists.' ) );
		}

		if ( ! $post_type_object ) {
			wp_die( __( 'Invalid post type.' ) );
		}

		if ( ! current_user_can( 'delete_post', $post_id ) ) {
			wp_die( __( 'Sorry, you are not allowed to move this item to the Trash.' ) );
		}

		$user_id = wp_check_post_lock( $post_id );
		if ( $user_id ) {
			$user = get_userdata( $user_id );
			/* translators: %s: User's display name. */
			wp_die( sprintf( __( 'You cannot move this item to the Trash. %s is currently editing.' ), $user->display_name ) );
		}

		if ( ! wp_trash_post( $post_id ) ) {
			wp_die( __( 'Error in moving the item to Trash.' ) );
		}

		wp_redirect(
			add_query_arg(
				array(
					'trashed' => 1,
					'ids'     => $post_id,
				),
				$sendback
			)
		);
		exit;

	case 'untrash':
		check_admin_referer( 'untrash-post_' . $post_id );

		if ( ! $post ) {
			wp_die( __( 'The item you are trying to restore from the Trash no longer exists.' ) );
		}

		if ( ! $post_type_object ) {
			wp_die( __( 'Invalid post type.' ) );
		}

		if ( ! current_user_can( 'delete_post', $post_id ) ) {
			wp_die( __( 'Sorry, you are not allowed to restore this item from the Trash.' ) );
		}

		if ( ! wp_untrash_post( $post_id ) ) {
			wp_die( __( 'Error in restoring the item from Trash.' ) );
		}

		$sendback = add_query_arg(
			array(
				'untrashed' => 1,
				'ids'       => $post_id,
			),
			$sendback
		);
		wp_redirect( $sendback );
		exit;

	case 'delete':
		check_admin_referer( 'delete-post_' . $post_id );

		if ( ! $post ) {
			wp_die( __( 'This item has already been deleted.' ) );
		}

		if ( ! $post_type_object ) {
			wp_die( __( 'Invalid post type.' ) );
		}

		if ( ! current_user_can( 'delete_post', $post_id ) ) {
			wp_die( __( 'Sorry, you are not allowed to delete this item.' ) );
		}

		if ( 'attachment' === $post->post_type ) {
			$force = ( ! MEDIA_TRASH );
			if ( ! wp_delete_attachment( $post_id, $force ) ) {
				wp_die( __( 'Error in deleting the attachment.' ) );
			}
		} else {
			if ( ! wp_delete_post( $post_id, true ) ) {
				wp_die( __( 'Error in deleting the item.' ) );
			}
		}

		wp_redirect( add_query_arg( 'deleted', 1, $sendback ) );
		exit;

	case 'preview':
		check_admin_referer( 'update-post_' . $post_id );

		$url = post_preview();

		wp_redirect( $url );
		exit;

	case 'toggle-custom-fields':
		check_admin_referer( 'toggle-custom-fields', 'toggle-custom-fields-nonce' );

		$current_user_id = get_current_user_id();
		if ( $current_user_id ) {
			$enable_custom_fields = (bool) get_user_meta( $current_user_id, 'enable_custom_fields', true );
			update_user_meta( $current_user_id, 'enable_custom_fields', ! $enable_custom_fields );
		}

		wp_safe_redirect( wp_get_referer() );
		exit;

	default:
		/**
		 * Fires for a given custom post action request.
		 *
		 * The dynamic portion of the hook name, `$action`, refers to the custom post action.
		 *
		 * @since 4.6.0
		 *
		 * @param int $post_id Post ID sent with the request.
		 */
		do_action( "post_action_{$action}", $post_id );

		wp_redirect( admin_url( 'edit.php' ) );
		exit;
} // End switch.

require_once ABSPATH . 'wp-admin/admin-footer.php';

SILENT KILLER Tool