WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#7758 closed enhancement (fixed)

Need a filter on the (post) password form

Reported by: dancoulter Owned by:
Milestone: 2.7 Priority: normal
Severity: normal Version: 2.7
Component: General Keywords: has-patch
Focuses: Cc:

Description

It's currently impossible to alter the "password form" used when password protecting a page or post. One reason someone might want to do this is to display a post's excerpt until they log in. Right now, if you google that problem, you'll see that the solution people suggest is to alter a WordPress core file. I have a patch that will add a "the_password_form" filter.

Attachments (1)

the_password_form-filter.diff (534 bytes) - added by dancoulter 6 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 ryan6 years ago

  • Milestone changed from 2.8 to 2.7

comment:2 ryan6 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [8926]) the_password_form filter from dancoulter. fixes #7758

Note: See TracTickets for help on using tickets.