[wp-trac] [WordPress Trac] #17594: Add pre_get_home_url hook for plugins

WordPress Trac wp-trac at lists.automattic.com
Fri May 27 20:07:46 UTC 2011


#17594: Add pre_get_home_url hook for plugins
--------------------------+-----------------------------
 Reporter:  technosailor  |      Owner:
     Type:  enhancement   |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.2
 Severity:  normal        |   Keywords:  has-patch
--------------------------+-----------------------------
 We need to allow plugins to "do stuff" in pre_get_home_url. In profiling
 today, we wrote some code that, if we have this hook, would allow a
 reduction of computations from x (in our case, 4000) down to 1 using a
 pseudo-cache technique.

 While that code isn't core-worthy, having a hook to allow plugin
 modification would incredibly enhance the ability to make WP more
 efficient on scale.

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


More information about the wp-trac mailing list