Opened 4 years ago

Closed 4 years ago

#10091 closed defect (bug) (fixed)

calendar widget disappears when no posts are in wp_the_query

Reported by: Denis-de-Bernardy Owned by: azaozz
Priority: high Milestone: 2.8
Component: Widgets Version: 2.8
Severity: blocker Keywords: has-patch tested commit
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 4 years ago.

Download all attachments as: .zip

Change History (3)

  • Keywords has-patch tested commit added
  • 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.