Skip to content
Commit aeb33666 authored by Jon Cave's avatar Jon Cave
Browse files

Ensure that a category is part of the query before redirecting permalink...

Ensure that a category is part of the query before redirecting permalink structures containing %category%. Fixes #19241.

This fixes incorrect canonical redirects for singular queries using custom rewrite rules.


git-svn-id: https://core.svn.wordpress.org/trunk@19970 1a063a9b-81f0-0310-95a4-ce76da25c4cd
parent 9e1fd1fb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment