Make WordPress Core

Opened 17 years ago

Closed 17 years ago

Last modified 3 months ago

#3416 closed defect (bug) (fixed)

Category walker causing repeated queries for non-existant category

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

Description

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 17 years ago.

Download all attachments as: .zip

Change History (3)

@andy
17 years ago

#1 @andy
17 years ago

  • Keywords has-patch added

#2 @ryan
17 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.