Ticket #20717: post_password_required_filter.patch
| File post_password_required_filter.patch, 437 bytes (added by BrandonGodwin, 12 months ago) |
|---|
-
wp-includes/post-template.php
560 560 if ( empty( $post->post_password ) ) 561 561 return false; 562 562 563 if ( ! apply_filters( 'post_password_required', true ) ) 564 return false; 565 563 566 if ( ! isset( $_COOKIE['wp-postpass_' . COOKIEHASH] ) ) 564 567 return true; 565 568
