WordPress.org

Make WordPress Core

Opened 11 months ago

Last modified 11 months ago

#45400 new defect (bug)

last of query_vars contains anchor

Reported by: visnevskis Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.9.8
Component: Query Keywords:
Focuses: Cc:
PR Number:

Description

Anchor links (at least individual comment links) are generated basically by appending "/#Comment-XX" to the end of URL.

In which case $wp_query->$query_vars returns last variable with appended "/" in it.

Change History (1)

#1 @SergeyBiryukov
11 months ago

  • Component changed from General to Query
Note: See TracTickets for help on using tickets.