WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 5 years ago

Last modified 5 years ago

#7155 closed enhancement (invalid)

calendar counterpart of getarchives_where

Reported by: abelcheung Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.5
Component: Template Keywords: needs-patch
Focuses: Cc:

Description

This patch adds hook to calendar, allowing SQL statement filter on it. The same thing has been done to wp_get_archives(), in the 'getarchives_where' hook. The attached patch can be applied on 2.2, 2.3, 2.5 and trunk.

Attachments (1)

calendar-sql-hook.patch (2.6 KB) - added by abelcheung 6 years ago.
Adding a hook 'getcalendar_where'

Download all attachments as: .zip

Change History (5)

abelcheung6 years ago

Adding a hook 'getcalendar_where'

comment:1 DD326 years ago

  • Keywords needs-testing added
  • Milestone set to 2.6
  • Version set to 2.5

comment:2 Denis-de-Bernardy5 years ago

  • Keywords needs-patch added; has-patch needs-testing removed
  • Milestone changed from 2.9 to Future Release

comment:3 abelcheung5 years ago

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

I changed my mind. I don't want to propose this patch for inclusion anymore.

comment:4 Denis-de-Bernardy5 years ago

  • Milestone Future Release deleted
Note: See TracTickets for help on using tickets.