Opened 16 years ago
Closed 16 years ago
#14177 closed defect (bug) (fixed)
wp_list_pages doesn't return correct links for custom post types
| Reported by: | chowmein | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.1 |
| Component: | Permalinks | Version: | |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [15587]) Support custom post type links in wp_list_pages(). fixes #14177. props scribu