[wp-trac] [WordPress Trac] #19135: wp_get_archives() needs a hook/filter

WordPress Trac wp-trac at lists.automattic.com
Fri Nov 4 17:24:52 UTC 2011


#19135: wp_get_archives() needs a hook/filter
--------------------------+------------------------------
 Reporter:  LeviMorrison  |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by LeviMorrison):

 Also, I know I could apply the filter directly to the links by hooking
 into that filter, but DOM operations are a bit more expensive to start up.
 Being able to do them all at once is better than one at a time.  It's also
 important to note that a parser or DOMDocument is the correct way to do
 this, not using regex.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19135#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list