Make WordPress Core

Opened 11 months ago

Last modified 11 months ago

#49085 new defect (bug)

add_query_arg does not use WP_HOME or WP_SITEURL

Reported by: lonevvolf Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:


Plugins which use add_query_arg are producing invalid links when the website is hosted behind a reverse proxy with a different path than the installed application. While the domain name is correct, the path is wrong.

Change History (1)

#1 @lonevvolf
11 months ago

Also, PATH_CURRENT_SITE could be utilized here for perhaps a more straightforward fix.

Note: See TracTickets for help on using tickets.