[wp-trac] [WordPress Trac] #19200: Introduce themes_url() and upload_url()
WordPress Trac
wp-trac at lists.automattic.com
Mon Nov 7 21:01:47 UTC 2011
#19200: Introduce themes_url() and upload_url()
--------------------------+-----------------------------
Reporter: ramiy | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
--------------------------+-----------------------------
WordPress has some very usefull '''url tempalate tags''' in the ''wp-
includes/link-template.php'' file, functions like:
{{{
home_url() => ../
site_url() => ../
admin_url() => ../wp-admin/
includes_url() => ../wp-includes/
content_url() => ../wp-content/
plugins_url() => ../wp-content/plugins/
}}}
we need 2 more functions:
{{{
themes_url() => ../wp-content/themes/
upload_url() => ../wp-content/upload/
}}}
they will make developers life easier.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19200>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list