Make WordPress Core

Opened 16 years ago

Closed 16 years ago

#10091 closed defect (bug) (fixed)

calendar widget disappears when no posts are in wp_the_query

Reported by: denis-de-bernardy's profile Denis-de-Bernardy Owned by: azaozz's profile azaozz
Milestone: 2.8 Priority: high
Severity: blocker Version: 2.8
Component: Widgets Keywords: has-patch tested commit
Focuses: Cc:

Description

Happens on 404 pages and failed searches (initially reported by Norman in IRC). It's due to a bug in wpdb.

Assigning a name to the DB check fixes it. (See attached patch)

Attachments (1)

10091.diff (660 bytes) - added by Denis-de-Bernardy 16 years ago.

Download all attachments as: .zip

Change History (3)

#1 @Denis-de-Bernardy
16 years ago

  • Keywords has-patch tested commit added

#2 @azaozz
16 years ago

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

(In [11548]) Fix check for a published post in calendar widget, props Denis-de-Bernardy, fixes #10091

Note: See TracTickets for help on using tickets.