[wp-trac] [WordPress Trac] #10826: Filter for paginate_links please?

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 21 23:05:09 UTC 2009


#10826: Filter for paginate_links please?
-----------------------------+----------------------------------------------
 Reporter:  johnjamesjacoby  |       Owner:            
     Type:  enhancement      |      Status:  new       
 Priority:  normal           |   Milestone:  Unassigned
Component:  Template         |     Version:  2.9       
 Severity:  normal           |    Keywords:  has-patch 
-----------------------------+----------------------------------------------
 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.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10826>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list