Ticket #46296: 46296.diff
| File 46296.diff, 429 bytes (added by , 3 years ago) |
|---|
-
src/wp-includes/class-wp.php
760 760 } else { 761 761 status_header( 200 ); 762 762 } 763 764 $post_id = $wp_query->post->ID; 765 $post = get_post($post_id); 766 767 if ( !empty( $post->post_password ) ) { 768 status_header( 403 ); 769 } 763 770 } 764 771 765 772 /**