Make WordPress Core

Opened 9 years ago

Last modified 5 years ago

#30994 new enhancement

Offset return for wp_get_archives

Reported by: jefflange's profile jefflange Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.2
Component: Query Keywords: has-patch bulk-reopened
Focuses: Cc:

Description

Adding offset to wp_get_archives is simple and can add a helpful feature.
Just as the 'limit' paramater allows results to be set to the first 10, for example, the offset parameter could allow the results to be set to 10-20, or from 15 and up.

I have some working code that I will submit as a patch.

Attachments (1)

#30944_offsetreturn_wpgetarchives.diff (4.7 KB) - added by jefflange 9 years ago.
Patch for 30994

Download all attachments as: .zip

Change History (4)

#1 @boonebgorges
9 years ago

  • Keywords needs-patch added
  • Milestone changed from Awaiting Review to Future Release

@jefflange
9 years ago

Patch for 30994

#2 @jefflange
9 years ago

  • Keywords has-patch added; needs-patch removed

#5 @jefflange
5 years ago

  • Keywords bulk-reopened added
Note: See TracTickets for help on using tickets.