Opened 4 years ago
Closed 3 years ago
#10826 closed enhancement (fixed)
Filter for paginate_links please?
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | Template | Version: | 2.9 |
| Severity: | normal | Keywords: | has-patch tested commit |
| 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)
johnjamesjacoby — 4 years ago
comment:2
chrisscott — 3 years ago
- Keywords tested added
Note: See
TracTickets for help on using
tickets.

Patches cleanly against r13330 and tests OK.