[wp-trac] [WordPress Trac] #63376: Enhancement: wp_login_form() $redirect params default value fetching update
WordPress Trac
noreply at wordpress.org
Fri May 2 07:09:33 UTC 2025
#63376: Enhancement: wp_login_form() $redirect params default value fetching update
------------------------------------+------------------------------
Reporter: sh4lin | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Login and Registration | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses:
------------------------------------+------------------------------
Comment (by sh4lin):
@siliconforks By WordPress definition, `https://example.com/wordpress` is
supposed to be the value of `site_url()`:
[https://developer.wordpress.org/reference/functions/site\_url/](https://developer.wordpress.org/reference/functions/site_url/)
Whereas `home_url()` is intended to retrieve:
> The URL for the current site where the front end is accessible.
>
[https://developer.wordpress.org/reference/functions/home\_url/](https://developer.wordpress.org/reference/functions/home_url/)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63376#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list