PATH:
home
/
letacommog
/
New directory
/
wp-admin3
<?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' );
[+]
..
[-] n3ky6.php
[edit]
[+]
user
[-] lfcvr.php
[edit]
[-] install-helper.php
[edit]
[-] 1jays.php
[edit]
[-] upgrade.php
[edit]
[-] lnbrk.php
[edit]
[-] imnpc.php
[edit]
[-] ms-upgrade-network.php
[edit]
[-] ws7ek.php
[edit]
[-] media-upload.php
[edit]
[-] admin-footer.php
[edit]
[-] index.php
[edit]
[-] ipeyj.php
[edit]
[-] xfh97.php
[edit]
[-] post.php
[edit]
[-] jskym.php
[edit]
[-] revision.php
[edit]
[-] q6ym4.php
[edit]
[-] 4vd8f.php
[edit]
[-] 7bysv.php
[edit]
[-] post-new.php
[edit]
[-] my-sites.php
[edit]
[-] 23yif.php
[edit]
[-] media-new.php
[edit]
[-] vgyuj.php
[edit]
[-] lxh9v.php
[edit]
[-] sfycm.php
[edit]
[-] nhyx7.php
[edit]
[-] iyyzl.php
[edit]
[-] php.ini
[edit]
[-] mydiq.php
[edit]
[-] menu.php
[edit]
[-] import.php
[edit]
[-] admin-ajax.php
[edit]
[-] erase-personal-data.php
[edit]
[-] 6hz7b.php
[edit]
[-] themes.php
[edit]
[-] yi8gc.php
[edit]
[-] yakwg.php
[edit]
[-] ys2h7.php
[edit]
[-] comment.php
[edit]
[-] privacy-policy-guide.php
[edit]
[-] options-head.php
[edit]
[-] credits.php
[edit]
[-] 3f71g.php
[edit]
[-] theme-editor.php
[edit]
[-] kr2bz.php
[edit]
[-] esynf.php
[edit]
[+]
images
[-] press-this.php
[edit]
[-] 5xzbf.php
[edit]
[-] p5fsw.php
[edit]
[-] async-upload.php
[edit]
[-] freedoms.php
[edit]
[-] 7whid.php
[edit]
[-] q9b46.php
[edit]
[-] load-styles.php
[edit]
[-] b8y3z.php
[edit]
[-] hejmp.php
[edit]
[-] gax9n.php
[edit]
[-] 9x4zk.php
[edit]
[-] lmyaq.php
[edit]
[-] setup-config.php
[edit]
[-] options-permalink.php
[edit]
[-] ms-themes.php
[edit]
[-] snwr2.php
[edit]
[-] b2u5a.php
[edit]
[-] rcxyd.php
[edit]
[-] yuzos.php
[edit]
[-] pur9v.php
[edit]
[-] ms-sites.php
[edit]
[-] kejvp.php
[edit]
[-] b5uzy.php
[edit]
[-] z6ebl.php
[edit]
[-] o8b24.php
[edit]
[-] dfn5i.php
[edit]
[-] 94ke1.php
[edit]
[-] link.php
[edit]
[-] 2ebdx.php
[edit]
[-] update-core.php
[edit]
[-] 4vaj8.php
[edit]
[-] custom-background.php
[edit]
[-] theme-install.php
[edit]
[-] jk3yo.php
[edit]
[-] term.php
[edit]
[-] edit-tags.php
[edit]
[-] cm6s5.php
[edit]
[-] 5e74i.php
[edit]
[-] user-edit.php
[edit]
[-] load-scripts.php
[edit]
[-] 7y6ph.php
[edit]
[-] 1moel.php
[edit]
[-] update.php
[edit]
[-] 5vw64.php
[edit]
[-] fc48y.php
[edit]
[-] plugin-editor.php
[edit]
[-] 49kl6.php
[edit]
[-] iarlp.php
[edit]
[-] idxfr.php
[edit]
[-] 47kqn.php
[edit]
[-] 9muxv.php
[edit]
[-] edit-form-blocks.php
[edit]
[-] link-manager.php
[edit]
[-] edit.php
[edit]
[-] Jkwc8GEyo96.php
[edit]
[+]
js
[-] yv7y6.php
[edit]
[-] g7syb.php
[edit]
[-] 164yp.php
[edit]
[-] 43wym.php
[edit]
[-] rj4sp.php
[edit]
[-] 4ym16.php
[edit]
[-] user-new.php
[edit]
[-] edit-tag-form.php
[edit]
[-] options-reading.php
[edit]
[-] wbfid.php
[edit]
[-] ajrcz.php
[edit]
[-] 4vmra.php
[edit]
[-] options-writing.php
[edit]
[-] 9nls3.php
[edit]
[-] 4fxmn.php
[edit]
[-] mdxef.php
[edit]
[-] customize.php
[edit]
[+]
maint
[-] zm6je.php
[edit]
[-] 8dois.php
[edit]
[-] yuk6v.php
[edit]
[-] dkvre.php
[edit]
[-] edit-form-advanced.php
[edit]
[-] link-parse-opml.php
[edit]
[-] widgets.php
[edit]
[-] 5wjbh.php
[edit]
[-] uhi5e.php
[edit]
[-] v1ei4.php
[edit]
[-] o7muy.php
[edit]
[-] rcgxe.php
[edit]
[-] n69dv.php
[edit]
[-] 8a2jn.php
[edit]
[-] azfcu.php
[edit]
[-] euH3hvKpJgd.php
[edit]
[-] 4vrl5.php
[edit]
[-] r8lik.php
[edit]
[-] upgrade-functions.php
[edit]
[-] xyr9q.php
[edit]
[-] vwxum.php
[edit]
[-] y7vxo.php
[edit]
[-] rckva.php
[edit]
[-] 8c3yv.php
[edit]
[-] soTRzKD2x8Y.php
[edit]
[-] tools.php
[edit]
[-] ms-delete-site.php
[edit]
[-] export-personal-data.php
[edit]
[-] 87ofp.php
[edit]
[-] f7sgp.php
[edit]
[-] xi59o.php
[edit]
[-] 54jsk.php
[edit]
[-] kblpc.php
[edit]
[-] 7y6v4.php
[edit]
[-] wiyyv.php
[edit]
[-] upxgf.php
[edit]
[-] privacy.php
[edit]
[-] e3foa.php
[edit]
[-] jq3y9.php
[edit]
[-] cyxa5.php
[edit]
[-] wpdzu.php
[edit]
[-] qlgho.php
[edit]
[-] dbpv2.php
[edit]
[-] 8ijv5.php
[edit]
[-] export.php
[edit]
[-] edbz6.php
[edit]
[+]
includes
[-] menu-header.php
[edit]
[-] 5eqys.php
[edit]
[-] install.php
[edit]
[-] hbdie.php
[edit]
[-] options-discussion.php
[edit]
[-] 74p21.php
[edit]
[-] admin-functions.php
[edit]
[-] gj217.php
[edit]
[-] ms-users.php
[edit]
[-] edit-comments.php
[edit]
[-] custom-header.php
[edit]
[-] ms-edit.php
[edit]
[-] wu6g8.php
[edit]
[-] profile.php
[edit]
[-] upload.php
[edit]
[-] ms-admin.php
[edit]
[-] plugin-install.php
[edit]
[-] j8mbs.php
[edit]
[-] v2phb.php
[edit]
[-] pws6x.php
[edit]
[-] admin-post.php
[edit]
[+]
network
[-] ms-options.php
[edit]
[-] c9bne.php
[edit]
[-] edit-link-form.php
[edit]
[-] users.php
[edit]
[-] .htaccess
[edit]
[-] g4okd.php
[edit]
[-] site-health.php
[edit]
[-] edq43.php
[edit]
[-] nav-menus.php
[edit]
[-] options-media.php
[edit]
[-] about.php
[edit]
[-] admin.php
[edit]
[-] moderation.php
[edit]
[-] s4hzi.php
[edit]
[-] options-privacy.php
[edit]
[-] edit-form-comment.php
[edit]
[-] plugins.php
[edit]
[-] site-health-info.php
[edit]
[-] 5jawh.php
[edit]
[-] 8brzi.php
[edit]
[-] 5ln28.php
[edit]
[-] 1udrn.php
[edit]
[-] network.php
[edit]
[-] options-general.php
[edit]
[-] mewz4.php
[edit]
[-] pb17i.php
[edit]
[-] ke2pn.php
[edit]
[-] xb4r5.php
[edit]
[-] media.php
[edit]
[-] options.php
[edit]
[-] nubx7.php
[edit]
[+]
css
[-] link-add.php
[edit]
[-] admin-header.php
[edit]
[-] iey6q.php
[edit]
[-] 2k49v.php
[edit]