Ticket #11695: 11695-2.diff
| File 11695-2.diff, 593 bytes (added by sillybean, 2 years ago) |
|---|
-
wp-includes/functions.php
1741 1741 wp_die( $message, '', array( 'response' => 404 ) ); 1742 1742 } 1743 1743 1744 do_action( $hook, $wp_query->is_comment_feed ); 1744 if ( $wp_query->is_comment_feed && $wp_query->is_singular && ( !current_user_can( 'read_private_posts' ) && 'private' == $wp_query->post->post_status ) ) 1745 include_once( get_404_template() ); 1746 else 1747 do_action( $hook, $wp_query->is_comment_feed ); 1745 1748 } 1746 1749 1747 1750 /**