WordPress.org

Make WordPress Core

Opened 2 years ago

Last modified 20 months ago

#35163 new defect (bug)

wp_get_archives() returns unresolved query string

Reported by: hogetan Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.4
Component: General Keywords:
Focuses: Cc:

Description

wp_get_archives() function returns unresolved query string.

such as

http://example.com/archives/test/date/2015/12?post_type=test

// called wp_get_archives('post_type=test&type=monthly')

Looks duplicate query parse filter or add_query_arg() not working.

refs #21596

Attachments (1)

remove_query_string.patch (2.4 KB) - added by hogetan 2 years ago.

Download all attachments as: .zip

Change History (2)

#1 @mikeschroder
20 months ago

  • Version changed from trunk to 4.4
Note: See TracTickets for help on using tickets.