Ticket #30910: 30910.patch
File 30910.patch, 547 bytes (added by , 10 years ago) |
---|
-
link-template.php
253 253 254 254 $slug = $post->post_name; 255 255 256 $draft_or_pending = isset($post->post_status) && in_array( $post->post_status, array( 'draft', 'pending', 'auto-draft' ) );256 $draft_or_pending = isset($post->post_status) && in_array( $post->post_status, array( 'draft', 'pending', 'auto-draft', 'future' ) ); 257 257 258 258 $post_type = get_post_type_object($post->post_type); 259 259