Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#3416 closed defect (bug) (fixed)

Category walker causing repeated queries for non-existant category

Reported by: andy Owned by:
Milestone: 2.1 Priority: normal
Severity: normal Version: 2.1
Component: Administration Keywords: has-patch
Focuses: Cc:


current_category being set on non-category pages, causing one empty-result query per category walked.

patch included

Attachments (1)

cat.diff (1.5 KB) - added by andy 11 years ago.

Download all attachments as: .zip

Change History (3)

11 years ago

#1 @andy
11 years ago

  • Keywords has-patch added

#2 @ryan
11 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [4580]) Avoid empty result category queries. Props andy. fixes #3416

Note: See TracTickets for help on using tickets.