Ticket #11695: 11695.diff
| File 11695.diff, 590 bytes (added by blepoxp, 3 years ago) |
|---|
-
wp-includes/functions.php
1717 1717 wp_die( $message, '', array( 'response' => 404 ) ); 1718 1718 } 1719 1719 1720 do_action( $hook, $wp_query->is_comment_feed ); 1720 if ( $wp_query->is_comment_feed && $wp_query->is_singular && ( !current_user_can( 'read_private_posts' ) && 'private' == $wp_query->post->post_status ) ) 1721 include_once( get_404_template() ); 1722 else 1723 do_action( $hook, $wp_query->is_comment_feed ); 1721 1724 } 1722 1725 1723 1726 /**
