Opened 14 years ago
Closed 13 years ago
#10826 closed enhancement (fixed)
Filter for paginate_links please?
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 3.0 | Priority: | normal |
Severity: | normal | Version: | 2.9 |
Component: | Template | Keywords: | has-patch tested commit |
Focuses: | Cc: |
Description
paginate_links() does not appear to have a filter on the $link output.
Attached patch is one proposed solution.
esc_url() is called on each link in the array, but currently no filters occur on those links to allow plugins to adjust those URLs, outside of 'clean_url' which I don't think is really fitting.
Attachments (1)
Change History (6)
Note: See
TracTickets for help on using
tickets.
Patches cleanly against r13330 and tests OK.