Ticket #59297: 59297.2.patch
File 59297.2.patch, 905 bytes (added by , 17 months ago) |
---|
-
wp-admin/edit-form-advanced.php
68 68 wp_enqueue_script( 'jquery-touch-punch' ); 69 69 } 70 70 71 /**72 * Post ID global73 *74 * @name $post_ID75 * @var int76 */77 $post_ID = isset( $post_ID ) ? (int) $post_ID : 0;78 71 $user_ID = isset( $user_ID ) ? (int) $user_ID : 0; 79 72 $action = isset( $action ) ? $action : ''; 80 73 -
wp-admin/post-new.php
64 64 } 65 65 66 66 $post = get_default_post_to_edit( $post_type, true ); 67 $post_ID = $post->ID;68 67 69 68 /** This filter is documented in wp-admin/post.php */ 70 69 if ( apply_filters( 'replace_editor', false, $post ) !== true ) {