GRAYBYTE WORDPRESS FILE MANAGER9209

Server IP : 68.65.123.43 / Your IP : 216.73.216.162
System : Linux server266.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
PHP Version : 8.0.30
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /home/inteuuod/public_html/1663847279691/wp-admin/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/inteuuod/public_html/1663847279691/wp-admin//revision.php
<?php
/**
 * Revisions administration panel
 *
 * Requires wp-admin/includes/revision.php.
 *
 * @package WordPress
 * @subpackage Administration
 * @since 2.6.0
 */

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

require ABSPATH . 'wp-admin/includes/revision.php';

/**
 * @global int    $revision Optional. The revision ID.
 * @global string $action   The action to take.
 *                          Accepts 'restore', 'view' or 'edit'.
 * @global int    $from     The revision to compare from.
 * @global int    $to       Optional, required if revision missing. The revision to compare to.
 */

$revision_id = ! empty( $_REQUEST['revision'] ) ? absint( $_REQUEST['revision'] ) : 0;
$action      = ! empty( $_REQUEST['action'] ) ? sanitize_text_field( $_REQUEST['action'] ) : '';
$from        = ! empty( $_REQUEST['from'] ) && is_numeric( $_REQUEST['from'] ) ? absint( $_REQUEST['from'] ) : null;
$to          = ! empty( $_REQUEST['to'] ) && is_numeric( $_REQUEST['to'] ) ? absint( $_REQUEST['to'] ) : null;

if ( ! $revision_id ) {
	$revision_id = $to;
}

$redirect = 'edit.php';

switch ( $action ) {
	case 'restore':
		$revision = wp_get_post_revision( $revision_id );
		if ( ! $revision ) {
			break;
		}

		if ( ! current_user_can( 'edit_post', $revision->post_parent ) ) {
			break;
		}

		$post = get_post( $revision->post_parent );
		if ( ! $post ) {
			break;
		}

		// Don't restore if revisions are disabled and this is not an autosave.
		if ( ! wp_revisions_enabled( $post ) && ! wp_is_post_autosave( $revision ) ) {
			$redirect = 'edit.php?post_type=' . $post->post_type;
			break;
		}

		// Don't restore if the post is locked.
		if ( wp_check_post_lock( $post->ID ) ) {
			break;
		}

		check_admin_referer( "restore-post_{$revision->ID}" );

		/*
		 * Ensure the global $post remains the same after revision is restored.
		 * Because wp_insert_post() and wp_transition_post_status() are called
		 * during the process, plugins can unexpectedly modify $post.
		 */
		$backup_global_post = clone $post;

		wp_restore_post_revision( $revision->ID );

		// Restore the global $post as it was before.
		$post = $backup_global_post;

		$redirect = add_query_arg(
			array(
				'message'  => 5,
				'revision' => $revision->ID,
			),
			get_edit_post_link( $post->ID, 'url' )
		);
		break;
	case 'view':
	case 'edit':
	default:
		$revision = wp_get_post_revision( $revision_id );
		if ( ! $revision ) {
			break;
		}

		$post = get_post( $revision->post_parent );
		if ( ! $post ) {
			break;
		}

		if ( ! current_user_can( 'read_post', $revision->ID ) || ! current_user_can( 'edit_post', $revision->post_parent ) ) {
			break;
		}

		// Bail if revisions are disabled and this is not an autosave.
		if ( ! wp_revisions_enabled( $post ) && ! wp_is_post_autosave( $revision ) ) {
			$redirect = 'edit.php?post_type=' . $post->post_type;
			break;
		}

		$post_edit_link = get_edit_post_link();
		$post_title     = '<a href="' . esc_url( $post_edit_link ) . '">' . _draft_or_post_title() . '</a>';
		/* translators: %s: Post title. */
		$h1             = sprintf( __( 'Compare Revisions of &#8220;%s&#8221;' ), $post_title );
		$return_to_post = '<a href="' . esc_url( $post_edit_link ) . '">' . __( '&larr; Go to editor' ) . '</a>';
		// Used in the HTML title tag.
		$title = __( 'Revisions' );

		$redirect = false;
		break;
}

// Empty post_type means either malformed object found, or no valid parent was found.
if ( ! $redirect && empty( $post->post_type ) ) {
	$redirect = 'edit.php';
}

if ( ! empty( $redirect ) ) {
	wp_redirect( $redirect );
	exit;
}

// This is so that the correct "Edit" menu item is selected.
if ( ! empty( $post->post_type ) && 'post' !== $post->post_type ) {
	$parent_file = 'edit.php?post_type=' . $post->post_type;
} else {
	$parent_file = 'edit.php';
}
$submenu_file = $parent_file;

wp_enqueue_script( 'revisions' );
wp_localize_script( 'revisions', '_wpRevisionsSettings', wp_prepare_revisions_for_js( $post, $revision_id, $from ) );

/* Revisions Help Tab */

$revisions_overview  = '<p>' . __( 'This screen is used for managing your content revisions.' ) . '</p>';
$revisions_overview .= '<p>' . __( 'Revisions are saved copies of your post or page, which are periodically created as you update your content. The red text on the left shows the content that was removed. The green text on the right shows the content that was added.' ) . '</p>';
$revisions_overview .= '<p>' . __( 'From this screen you can review, compare, and restore revisions:' ) . '</p>';
$revisions_overview .= '<ul><li>' . __( 'To navigate between revisions, <strong>drag the slider handle left or right</strong> or <strong>use the Previous or Next buttons</strong>.' ) . '</li>';
$revisions_overview .= '<li>' . __( 'Compare two different revisions by <strong>selecting the &#8220;Compare any two revisions&#8221; box</strong> to the side.' ) . '</li>';
$revisions_overview .= '<li>' . __( 'To restore a revision, <strong>click Restore This Revision</strong>.' ) . '</li></ul>';

get_current_screen()->add_help_tab(
	array(
		'id'      => 'revisions-overview',
		'title'   => __( 'Overview' ),
		'content' => $revisions_overview,
	)
);

$revisions_sidebar  = '<p><strong>' . __( 'For more information:' ) . '</strong></p>';
$revisions_sidebar .= '<p>' . __( '<a href="https://wordpress.org/documentation/article/revisions/">Revisions Management</a>' ) . '</p>';
$revisions_sidebar .= '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>';

get_current_screen()->set_help_sidebar( $revisions_sidebar );

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

?>

<div class="wrap">
	<h1 class="long-header"><?php echo $h1; ?></h1>
	<?php echo $return_to_post; ?>
</div>
<?php
wp_print_revision_templates();

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

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 13 2025 04:30:14
inteuuod / inteuuod
0755
css
--
July 10 2025 04:32:21
inteuuod / inteuuod
0755
images
--
July 10 2025 04:32:21
inteuuod / inteuuod
0755
includes
--
July 10 2025 04:32:21
inteuuod / inteuuod
0755
js
--
July 10 2025 04:32:21
inteuuod / inteuuod
0755
maint
--
July 10 2025 04:32:21
inteuuod / inteuuod
0755
network
--
July 10 2025 04:32:21
inteuuod / inteuuod
0755
user
--
July 10 2025 04:32:21
inteuuod / inteuuod
0755
.htaccess
0.41 KB
July 10 2025 04:32:21
inteuuod / inteuuod
0644
about.php
15.946 KB
December 27 2024 01:30:01
inteuuod / inteuuod
0644
admin-ajax.php
5.025 KB
December 27 2024 01:30:01
inteuuod / inteuuod
0644
admin-footer.php
2.768 KB
December 27 2024 01:30:01
inteuuod / inteuuod
0644
admin-functions.php
0.396 KB
September 22 2022 12:02:15
inteuuod / inteuuod
0644
admin-header.php
8.862 KB
December 27 2024 01:30:01
inteuuod / inteuuod
0644
admin-post.php
2.021 KB
December 27 2024 01:30:00
inteuuod / inteuuod
0644
admin.php
12.271 KB
December 27 2024 01:30:01
inteuuod / inteuuod
0644
async-upload.php
4.714 KB
December 27 2024 01:30:01
inteuuod / inteuuod
0644
authorize-application.php
10.093 KB
December 27 2024 01:30:01
inteuuod / inteuuod
0644
comment.php
11.35 KB
December 27 2024 01:30:01
inteuuod / inteuuod
0644
contribute.php
5.593 KB
December 27 2024 01:30:02
inteuuod / inteuuod
0644
credits.php
3.751 KB
December 27 2024 01:30:00
inteuuod / inteuuod
0644
custom-background.php
0.406 KB
September 22 2022 12:02:17
inteuuod / inteuuod
0644
custom-header.php
0.416 KB
September 22 2022 12:02:16
inteuuod / inteuuod
0644
customize.php
10.865 KB
December 27 2024 01:30:01
inteuuod / inteuuod
0644
edit-comments.php
14.381 KB
December 27 2024 01:30:00
inteuuod / inteuuod
0644
edit-form-advanced.php
28.857 KB
December 27 2024 01:30:00
inteuuod / inteuuod
0644
edit-form-blocks.php
12.958 KB
December 27 2024 01:30:01
inteuuod / inteuuod
0644
edit-form-comment.php
8.344 KB
December 27 2024 01:30:01
inteuuod / inteuuod
0644
edit-link-form.php
6.213 KB
December 27 2024 01:30:00
inteuuod / inteuuod
0644
edit-tag-form.php
10.444 KB
December 27 2024 01:30:01
inteuuod / inteuuod
0644
edit-tags.php
21.925 KB
December 27 2024 01:30:00
inteuuod / inteuuod
0644
edit.php
19.484 KB
December 27 2024 01:30:01
inteuuod / inteuuod
0644
erase-personal-data.php
7.329 KB
December 27 2024 01:30:00
inteuuod / inteuuod
0644
error_log
20.366 KB
December 11 2024 02:42:02
inteuuod / inteuuod
0644
export-personal-data.php
7.755 KB
December 27 2024 01:30:01
inteuuod / inteuuod
0644
export.php
11.023 KB
December 27 2024 01:30:01
inteuuod / inteuuod
0644
freedoms.php
4.496 KB
December 27 2024 01:30:00
inteuuod / inteuuod
0644
import.php
7.478 KB
December 27 2024 01:30:01
inteuuod / inteuuod
0644
index.php
7.68 KB
December 27 2024 01:30:01
inteuuod / inteuuod
0644
install-helper.php
6.798 KB
December 27 2024 01:30:02
inteuuod / inteuuod
0644
install.php
17.099 KB
December 27 2024 01:30:02
inteuuod / inteuuod
0644
link-add.php
0.916 KB
December 27 2024 01:30:01
inteuuod / inteuuod
0644
link-manager.php
4.263 KB
December 27 2024 01:30:01
inteuuod / inteuuod
0644
link-parse-opml.php
2.634 KB
December 27 2024 01:30:02
inteuuod / inteuuod
0644
link.php
2.888 KB
December 27 2024 01:30:01
inteuuod / inteuuod
0644
load-scripts.php
2.021 KB
December 27 2024 01:30:01
inteuuod / inteuuod
0644
load-styles.php
2.925 KB
December 27 2024 01:30:01
inteuuod / inteuuod
0644
media-new.php
3.185 KB
December 27 2024 01:30:01
inteuuod / inteuuod
0644
media-upload.php
3.485 KB
December 27 2024 01:30:00
inteuuod / inteuuod
0644
media.php
0.8 KB
December 27 2024 01:30:02
inteuuod / inteuuod
0644
menu-header.php
9.833 KB
December 27 2024 01:30:01
inteuuod / inteuuod
0644
menu.php
16.673 KB
December 27 2024 01:30:02
inteuuod / inteuuod
0644
moderation.php
0.3 KB
September 22 2022 12:02:16
inteuuod / inteuuod
0644
ms-admin.php
0.191 KB
September 22 2022 12:02:12
inteuuod / inteuuod
0644
ms-delete-site.php
4.193 KB
December 27 2024 01:30:02
inteuuod / inteuuod
0644
ms-edit.php
0.211 KB
September 22 2022 12:02:13
inteuuod / inteuuod
0644
ms-options.php
0.224 KB
December 27 2024 01:30:00
inteuuod / inteuuod
0644
ms-sites.php
0.21 KB
September 22 2022 12:02:17
inteuuod / inteuuod
0644
ms-themes.php
0.212 KB
September 22 2022 12:02:17
inteuuod / inteuuod
0644
ms-upgrade-network.php
0.214 KB
September 22 2022 12:02:14
inteuuod / inteuuod
0644
ms-users.php
0.21 KB
September 22 2022 12:02:12
inteuuod / inteuuod
0644
my-sites.php
4.744 KB
December 27 2024 01:30:01
inteuuod / inteuuod
0644
nav-menus.php
48.12 KB
December 27 2024 01:30:01
inteuuod / inteuuod
0644
network.php
5.393 KB
December 27 2024 01:30:01
inteuuod / inteuuod
0644
options-discussion.php
15.396 KB
December 27 2024 01:30:01
inteuuod / inteuuod
0644
options-general.php
21.514 KB
December 27 2024 01:30:02
inteuuod / inteuuod
0644
options-head.php
0.535 KB
December 27 2024 01:30:01
inteuuod / inteuuod
0644
options-media.php
6.353 KB
December 27 2024 01:30:00
inteuuod / inteuuod
0644
options-permalink.php
21.209 KB
December 27 2024 01:30:01
inteuuod / inteuuod
0644
options-privacy.php
9.951 KB
December 27 2024 01:30:01
inteuuod / inteuuod
0644
options-reading.php
10.025 KB
December 27 2024 01:30:01
inteuuod / inteuuod
0644
options-writing.php
9.099 KB
December 27 2024 01:30:00
inteuuod / inteuuod
0644
options.php
13.445 KB
December 27 2024 01:30:00
inteuuod / inteuuod
0644
plugin-editor.php
13.415 KB
December 27 2024 01:30:01
inteuuod / inteuuod
0644
plugin-install.php
6.957 KB
December 27 2024 01:30:01
inteuuod / inteuuod
0644
plugins.php
30.012 KB
December 27 2024 01:30:00
inteuuod / inteuuod
0644
post-new.php
2.703 KB
December 27 2024 01:30:00
inteuuod / inteuuod
0644
post.php
9.97 KB
December 27 2024 01:30:01
inteuuod / inteuuod
0644
press-this.php
2.34 KB
December 27 2024 01:30:00
inteuuod / inteuuod
0644
privacy-policy-guide.php
3.668 KB
December 27 2024 01:30:01
inteuuod / inteuuod
0644
privacy.php
2.482 KB
December 27 2024 01:30:00
inteuuod / inteuuod
0644
profile.php
0.276 KB
September 22 2022 12:02:14
inteuuod / inteuuod
0644
revision.php
5.714 KB
December 27 2024 01:30:01
inteuuod / inteuuod
0644
setup-config.php
17.483 KB
December 27 2024 01:30:01
inteuuod / inteuuod
0644
site-editor.php
7.048 KB
December 27 2024 01:30:02
inteuuod / inteuuod
0644
site-health-info.php
3.988 KB
December 27 2024 01:30:01
inteuuod / inteuuod
0644
site-health.php
10.198 KB
December 27 2024 01:30:01
inteuuod / inteuuod
0644
term.php
2.196 KB
December 27 2024 01:30:01
inteuuod / inteuuod
0644
theme-editor.php
15.422 KB
December 27 2024 01:30:01
inteuuod / inteuuod
0644
theme-install.php
23.369 KB
December 27 2024 01:30:00
inteuuod / inteuuod
0644
themes.php
46.951 KB
December 27 2024 01:30:00
inteuuod / inteuuod
0644
tools.php
3.432 KB
December 27 2024 01:30:01
inteuuod / inteuuod
0644
update-core.php
45.429 KB
December 27 2024 01:30:01
inteuuod / inteuuod
0644
update.php
12.785 KB
December 27 2024 01:30:01
inteuuod / inteuuod
0644
upgrade-functions.php
0.333 KB
September 22 2022 12:02:15
inteuuod / inteuuod
0644
upgrade.php
5.573 KB
December 27 2024 01:30:01
inteuuod / inteuuod
0644
upload.php
14.851 KB
December 27 2024 01:30:01
inteuuod / inteuuod
0644
user-edit.php
39.601 KB
December 27 2024 01:30:01
inteuuod / inteuuod
0644
user-new.php
23.971 KB
December 27 2024 01:30:02
inteuuod / inteuuod
0644
users.php
23.294 KB
December 27 2024 01:30:02
inteuuod / inteuuod
0644
widgets-form-blocks.php
4.967 KB
December 27 2024 01:30:02
inteuuod / inteuuod
0644
widgets-form.php
19.165 KB
December 27 2024 01:30:01
inteuuod / inteuuod
0644
widgets.php
1.086 KB
September 22 2022 12:02:12
inteuuod / inteuuod
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF