[wp-trac] [WordPress Trac] #63666: Multiple tags in URL broken in 6.8
WordPress Trac
noreply at wordpress.org
Sat Jul 5 14:59:58 UTC 2025
#63666: Multiple tags in URL broken in 6.8
--------------------------+-----------------------------
Reporter: frogsplash | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Query | Version: 6.8
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
Hi gang, thanks for all the work y'all do. I've been a WordPress user for
a looooong time, really appreciate the community's efforts over the years.
There's a new "bug" that got introduced into 6.8, and it's unfortunately
broken a lot of my websites. (I say "bug", but maybe there was a reason
this change was made.)
Short and sweet: the ability to filter tags via the URL has been
incredibly useful. I run many asset library type websites, and being able
to display certain posts by their tags is essential.
Example:
https://bagofhurt.com/tag/2025+test-tag-1/
In this example, this page lists all posts that have both of these two
tags. All good so far. The kicker comes when you flip the tags:
https://bagofhurt.com/tag/test-tag-1+2025/
While you get the same post result, the listed tag in the H1 still says
"2025."
----
To contrast, here's the same page in WP 6.7.2:
https://bagofhurt.com/old/tag/test-tag-1+2025/
The tag listed first in the query has always been used for the H1 display
– until 6.8. It looks like it now uses the first tag alphabetically,
regardless of the order.
----
I don't know the WP codebase well enough to tell someone where to look,
but if this an easy fix, I would greatly appreciate a patch. Or if there's
a better way for me to replicate the behavior I'm after?
It looks like this thread might be related:
https://core.trac.wordpress.org/ticket/63255
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63666>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list