[wp-trac] [WordPress Trac] #19200: Introduce themes_url() and upload_url()

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 8 11:24:16 UTC 2011


#19200: Introduce themes_url() and upload_url()
-------------------------+------------------------------
 Reporter:  ramiy        |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  General      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+------------------------------

Comment (by ramiy):

 {{{
 function upload_url() {
    $upload_dir = wp_upload_dir();
    return $upload_dir['baseurl'];
 }
 }}}

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


More information about the wp-trac mailing list