[wp-trac] Re: [WordPress Trac] #7709: 'content_url' (and other
*_url()
functions) not filterable (was: 'content_url' not filterable)
WordPress Trac
wp-trac at lists.automattic.com
Fri Apr 17 04:17:15 GMT 2009
#7709: 'content_url' (and other *_url() functions) not filterable
-------------------------+--------------------------------------------------
Reporter: krudolph | Owner: anonymous
Type: enhancement | Status: new
Priority: low | Milestone: 2.8
Component: Template | Version: 2.7
Severity: minor | Keywords: has-patch
-------------------------+--------------------------------------------------
Changes (by coffee2code):
* cc: coffee2code (added)
* keywords: => has-patch
* milestone: Future Release => 2.8
Comment:
In link-template.php, `site_url()` is filterable, yet its associates are
not:
* `admin_url()`
* `includes_url()`
* `content_url()`
* `plugins_url()`
The attached patch, bug7709.link-template.diff, simply makes the url that
would be returned from each of those functions filterable.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/7709#comment:8>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list