Ticket #20496: 20496.diff
File 20496.diff, 656 bytes (added by , 11 years ago) |
---|
-
wp-includes/canonical.php
40 40 global $wp_rewrite, $is_IIS, $wp_query, $wpdb; 41 41 42 42 // If we're not in wp-admin and the post has been published and preview nonce 43 // is non-exist ant or invalid then no need for preview in query43 // is non-existent or invalid then no need for preview in query 44 44 if ( is_preview() && get_query_var( 'p' ) && 'publish' == get_post_status( get_query_var( 'p' ) ) ) { 45 45 if ( ! isset( $_GET['preview_id'] ) 46 46 || ! isset( $_GET['preview_nonce'] )