Custom post password form label
|Reported by:||soulseekah||Owned by:||nacin|
|Severity:||normal||Keywords:||has-patch 3.7-early commit|
get_the_password_form() hardcodes the password protected message.
__("This post is password protected. To view it please enter your password below:")
This results in misbehavior, wherein all post types (including Pages) do not make a distinction between what is password protected.
Considering the difficulty of chunking up that string to be dynamic and more importantly easily localizable, I attach a draft patch which makes that message a label instead.
Change History (11)
comment:4 in reply to: ↑ 3 SergeyBiryukov — 5 months ago
- Keywords 3.7-early added
- Milestone changed from Awaiting Review to Future Release