Opened 14 years ago
Closed 14 years ago
#14177 closed defect (bug) (fixed)
wp_list_pages doesn't return correct links for custom post types
Reported by: | chowmein | Owned by: | |
---|---|---|---|
Milestone: | 3.1 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Permalinks | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
wp_list_pages() returns links missing the rewrite slug for custom post types.
Traced it back to the Walker_Pager::start_el() using get_page_link(), which doesn't support custom post types.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
(In [15587]) Support custom post type links in wp_list_pages(). fixes #14177. props scribu