[wp-trac] [WordPress Trac] #3416: Category walker causing repeated queries for non-existant category

WordPress Trac noreply at wordpress.org
Mon Feb 12 05:08:16 UTC 2024


#3416: Category walker causing repeated queries for non-existant category
----------------------------+---------------------
 Reporter:  andy            |       Owner:  (none)
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:  2.1
Component:  Administration  |     Version:  2.1
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch       |     Focuses:
----------------------------+---------------------

Comment (by moriceyxs03):

 Is the Category Walker causing repeated queries for non-existent
 categories, resulting in unnecessary queries due to current_category being
 set on non-category pages? This issue leads to one empty-result query per
 category walked. If so, your included patch aims to address this problem.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/3416#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list