X7ROOT File Manager
Current Path:
/home/greejped/nwswater.com/wp-admin
home
/
greejped
/
nwswater.com
/
wp-admin
/
ðŸ“
..
📄
.htaccess
(199 B)
📄
about.php
(24.63 KB)
📄
admin-ajax.php
(4.56 KB)
📄
admin-footer.php
(2.76 KB)
📄
admin-functions.php
(409 B)
📄
admin-header.php
(8.02 KB)
📄
admin-post.php
(1.65 KB)
📄
admin.php
(11.85 KB)
📄
async-upload.php
(3.73 KB)
📄
comment.php
(10.75 KB)
📄
credits.php
(5.18 KB)
ðŸ“
css
📄
custom-background.php
(419 B)
📄
custom-header.php
(429 B)
📄
customize.php
(9.41 KB)
📄
edit-comments.php
(13.87 KB)
📄
edit-form-advanced.php
(28.13 KB)
📄
edit-form-blocks.php
(13.18 KB)
📄
edit-form-comment.php
(7.62 KB)
📄
edit-link-form.php
(6.08 KB)
📄
edit-tag-form.php
(9.3 KB)
📄
edit-tags.php
(20.99 KB)
📄
edit.php
(17.47 KB)
📄
erase-personal-data.php
(3.17 KB)
📄
error_log
(124.61 KB)
📄
export-personal-data.php
(3.14 KB)
📄
export.php
(10.69 KB)
📄
freedoms.php
(4.6 KB)
ðŸ“
images
📄
import.php
(7.35 KB)
ðŸ“
includes
📄
index.php
(5.76 KB)
📄
install-helper.php
(5.77 KB)
📄
install.php
(16.5 KB)
ðŸ“
js
📄
link-add.php
(727 B)
📄
link-manager.php
(4.09 KB)
📄
link-parse-opml.php
(2.54 KB)
📄
link.php
(2.68 KB)
📄
load-scripts.php
(1.67 KB)
📄
load-styles.php
(2.26 KB)
ðŸ“
maint
📄
media-new.php
(3.14 KB)
📄
media-upload.php
(3.3 KB)
📄
media.php
(5.48 KB)
📄
menu-header.php
(9.51 KB)
📄
menu.php
(14.15 KB)
📄
moderation.php
(322 B)
📄
ms-admin.php
(211 B)
📄
ms-delete-site.php
(4.1 KB)
📄
ms-edit.php
(231 B)
📄
ms-options.php
(238 B)
📄
ms-sites.php
(230 B)
📄
ms-themes.php
(232 B)
📄
ms-upgrade-network.php
(234 B)
📄
ms-users.php
(230 B)
📄
my-sites-view.php
(998 B)
📄
my-sites.php
(4.55 KB)
📄
nav-menus.php
(42.81 KB)
ðŸ“
network
📄
network.php
(5.28 KB)
📄
options-discussion.php
(14.95 KB)
📄
options-general.php
(14.6 KB)
📄
options-head.php
(492 B)
📄
options-media.php
(6.1 KB)
📄
options-permalink.php
(18.51 KB)
📄
options-privacy.php
(7.9 KB)
📄
options-reading.php
(9.48 KB)
📄
options-writing-add.php
(349 B)
📄
options-writing.php
(8.43 KB)
📄
options.php
(11.91 KB)
📄
plugin-editor.php
(13.05 KB)
📄
plugin-install.php
(6.25 KB)
📄
plugins.php
(23.8 KB)
📄
post-new.php
(2.65 KB)
📄
post.php
(9.44 KB)
📄
press-this.php
(2.35 KB)
📄
privacy-policy-guide.php
(852 B)
📄
privacy.php
(2.5 KB)
📄
profile.php
(298 B)
📄
revision.php
(5.09 KB)
📄
setup-config.php
(15.54 KB)
📄
site-health-info.php
(5.65 KB)
📄
site-health.php
(5.23 KB)
📄
term.php
(2.21 KB)
📄
theme-editor.php
(14.73 KB)
📄
theme-install.php
(14.86 KB)
📄
themes.php
(23.15 KB)
📄
tools.php
(3.39 KB)
📄
update-core.php
(32.94 KB)
📄
update.php
(10.7 KB)
📄
upgrade-functions.php
(344 B)
📄
upgrade.php
(5.43 KB)
📄
upload.php
(13.59 KB)
ðŸ“
user
📄
user-edit.php
(28.57 KB)
📄
user-new.php
(21.76 KB)
📄
users.php
(19.42 KB)
📄
widgets.php
(19.28 KB)
Editing: post-new.php
<?php /** * New Post Administration Screen. * * @package WordPress * @subpackage Administration */ /** Load WordPress Administration Bootstrap */ require_once( dirname( __FILE__ ) . '/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 ) ) ) ) { $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 && $post_type_object->show_in_menu !== true ) { $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 ) ) { include( ABSPATH . 'wp-admin/edit-form-blocks.php' ); } else { wp_enqueue_script( 'autosave' ); include( 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 ); } include( ABSPATH . 'wp-admin/admin-footer.php' );
Upload File
Create Folder