[wp-trac] [WordPress Trac] #64785: Add filter for redirect_to URL in get_the_password_form()
WordPress Trac
noreply at wordpress.org
Tue Mar 3 18:45:27 UTC 2026
#64785: Add filter for redirect_to URL in get_the_password_form()
-----------------------------------+------------------------------
Reporter: regnalf | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version: 6.9.1
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion | Focuses:
-----------------------------------+------------------------------
Comment (by westonruter):
I will say that the likelihood of the `redirect_to` field ever being
renamed is zero. This would be an extreme backwards-compatibility breakage
for a very old part of WordPress.
I have very little experience with password-protected posts. I'll leave
this for another contributor to comment on the need for a filter here.
In the meantime, using the HTML Tag Processor will be very reliable.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64785#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list