Opened 12 months ago
Last modified 10 months ago
#20717 new enhancement
Filter For Requiring Post Password
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Template | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: |
Description
I've had the need to conditionally disable the password on a post based on criteria that I define in a plugin. In order to do this, I added a filter in the post_password_required() function in wp-includes/post-template.php. This is helpful to allow search engines to crawl password protected pages or allow certain users to view the page without typing in the password.
It would be great if this could get included in the core.
Thanks for your time.
Attachments (1)
Note: See
TracTickets for help on using
tickets.

+1
Using this patch right now to allow admins to see subordinate users' posts on the same blog/site without needing a password.
Thanks for the clean patch file.
Changed component on this ticket to "Template," since this function is called in several places while the post page is being built, including wp-includes/post-template.php.