$12 GRAYBYTE WORDPRESS FILE MANAGER $93

SERVER : in-mum-web1330.main-hosting.eu #1 SMP Mon Feb 10 22:45:17 UTC 2025
SERVER IP : 88.222.243.190 | ADMIN IP 216.73.216.21
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/home/u550391411/domains/kidslum.com/public_html/wp-admin/

HOME
Current File : /home/u550391411/domains/kidslum.com/public_html/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';

Current_dir [ WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2026 9.12 AM
u550391411 / o200927086
0755
css
--
26 Oct 2024 10.48 AM
u550391411 / o200927086
0755
images
--
26 Oct 2024 10.48 AM
u550391411 / o200927086
0755
includes
--
26 Oct 2024 10.48 AM
u550391411 / o200927086
0755
js
--
26 Oct 2024 10.48 AM
u550391411 / o200927086
0755
maint
--
26 Oct 2024 10.48 AM
u550391411 / o200927086
0755
network
--
26 Oct 2024 10.48 AM
u550391411 / o200927086
0755
user
--
26 Oct 2024 10.48 AM
u550391411 / o200927086
0755
about.php
17.645 KB
1 Oct 2025 2.26 AM
u550391411 / o200927086
0644
admin-ajax.php
5.025 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
admin-footer.php
2.768 KB
30 Nov 2024 8.44 AM
u550391411 / o200927086
0644
admin-functions.php
0.396 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
admin-header.php
8.862 KB
30 Nov 2024 8.44 AM
u550391411 / o200927086
0644
admin-post.php
2.021 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
admin.php
12.271 KB
30 Nov 2024 8.44 AM
u550391411 / o200927086
0644
async-upload.php
4.742 KB
11 Feb 2025 10.14 PM
u550391411 / o200927086
0644
authorize-application.php
10.093 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
comment.php
11.35 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
contribute.php
5.593 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
credits.php
3.751 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
custom-background.php
0.406 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
custom-header.php
0.416 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
customize.php
10.865 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
edit-comments.php
14.381 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
edit-form-advanced.php
28.857 KB
30 Nov 2024 8.44 AM
u550391411 / o200927086
0644
edit-form-blocks.php
12.958 KB
30 Nov 2024 8.44 AM
u550391411 / o200927086
0644
edit-form-comment.php
8.344 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
edit-link-form.php
6.213 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
edit-tag-form.php
10.444 KB
30 Nov 2024 8.44 AM
u550391411 / o200927086
0644
edit-tags.php
22.005 KB
11 Feb 2025 10.14 PM
u550391411 / o200927086
0644
edit.php
19.484 KB
30 Nov 2024 8.44 AM
u550391411 / o200927086
0644
erase-personal-data.php
7.329 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
export-personal-data.php
7.755 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
export.php
11.023 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
freedoms.php
4.496 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
import.php
7.478 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
index.php
7.68 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
install-helper.php
6.798 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
install.php
17.099 KB
30 Nov 2024 8.44 AM
u550391411 / o200927086
0644
link-add.php
0.916 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
link-manager.php
4.263 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
link-parse-opml.php
2.634 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
link.php
2.888 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
load-scripts.php
2.021 KB
30 Nov 2024 8.44 AM
u550391411 / o200927086
0644
load-styles.php
2.925 KB
30 Nov 2024 8.44 AM
u550391411 / o200927086
0644
media-new.php
3.185 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
media-upload.php
3.485 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
media.php
0.8 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
menu-header.php
9.833 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
menu.php
16.673 KB
30 Nov 2024 8.44 AM
u550391411 / o200927086
0644
moderation.php
0.3 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
ms-admin.php
0.191 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
ms-delete-site.php
4.193 KB
30 Nov 2024 8.44 AM
u550391411 / o200927086
0644
ms-edit.php
0.211 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
ms-options.php
0.224 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
ms-sites.php
0.21 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
ms-themes.php
0.212 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
ms-upgrade-network.php
0.214 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
ms-users.php
0.21 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
my-sites.php
4.744 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
nav-menus.php
48.12 KB
30 Nov 2024 8.44 AM
u550391411 / o200927086
0644
network.php
5.393 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
options-discussion.php
15.396 KB
30 Nov 2024 8.44 AM
u550391411 / o200927086
0644
options-general.php
21.514 KB
30 Nov 2024 8.44 AM
u550391411 / o200927086
0644
options-head.php
0.535 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
options-media.php
6.353 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
options-permalink.php
21.209 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
options-privacy.php
9.951 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
options-reading.php
10.025 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
options-writing.php
9.099 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
options.php
13.445 KB
30 Nov 2024 8.44 AM
u550391411 / o200927086
0644
plugin-editor.php
13.415 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
plugin-install.php
6.957 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
plugins.php
30.012 KB
30 Nov 2024 8.44 AM
u550391411 / o200927086
0644
post-new.php
2.703 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
post.php
9.97 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
press-this.php
2.34 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
privacy-policy-guide.php
3.668 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
privacy.php
2.482 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
profile.php
0.276 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
revision.php
5.714 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
setup-config.php
17.483 KB
30 Nov 2024 8.44 AM
u550391411 / o200927086
0644
site-editor.php
7.048 KB
30 Nov 2024 8.44 AM
u550391411 / o200927086
0644
site-health-info.php
3.988 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
site-health.php
10.198 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
term.php
2.196 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
theme-editor.php
15.422 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
theme-install.php
23.369 KB
30 Nov 2024 8.44 AM
u550391411 / o200927086
0644
themes.php
46.951 KB
30 Nov 2024 8.44 AM
u550391411 / o200927086
0644
tools.php
3.432 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
update-core.php
45.429 KB
30 Nov 2024 8.44 AM
u550391411 / o200927086
0644
update.php
12.785 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
upgrade-functions.php
0.333 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
upgrade.php
5.573 KB
30 Nov 2024 8.44 AM
u550391411 / o200927086
0644
upload.php
14.851 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
user-edit.php
39.601 KB
30 Nov 2024 8.44 AM
u550391411 / o200927086
0644
user-new.php
23.971 KB
30 Nov 2024 8.44 AM
u550391411 / o200927086
0644
users.php
23.294 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
widgets-form-blocks.php
4.967 KB
30 Nov 2024 8.44 AM
u550391411 / o200927086
0644
widgets-form.php
19.165 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644
widgets.php
1.086 KB
26 Oct 2024 10.48 AM
u550391411 / o200927086
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF