Make WordPress Core

Ticket #59297: 59297.2.patch

File 59297.2.patch, 905 bytes (added by upadalavipul, 10 months ago)

added two more files.

  • wp-admin/edit-form-advanced.php

     
    6868        wp_enqueue_script( 'jquery-touch-punch' );
    6969}
    7070
    71 /**
    72  * Post ID global
    73  *
    74  * @name $post_ID
    75  * @var int
    76  */
    77 $post_ID = isset( $post_ID ) ? (int) $post_ID : 0;
    7871$user_ID = isset( $user_ID ) ? (int) $user_ID : 0;
    7972$action  = isset( $action ) ? $action : '';
    8073
  • wp-admin/post-new.php

     
    6464}
    6565
    6666$post    = get_default_post_to_edit( $post_type, true );
    67 $post_ID = $post->ID;
    6867
    6968/** This filter is documented in wp-admin/post.php */
    7069if ( apply_filters( 'replace_editor', false, $post ) !== true ) {