WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #18302, comment 44


Ignore:
Timestamp:
09/05/12 21:57:17 (20 months ago)
Author:
Otto42
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18302, comment 44

    initial v1  
    66Presumably, most themes wouldn't be using that parameter anyway.  
    77 
    8 Also, if you limit it to child/parent, then there is no point to having that parameter at all, since other functions would exist to take care of that for you. In which case the function would be themes_url($path='') and no optional second parameter. 
     8Also, if you limit it to child/parent, then there is no point to having that parameter at all, since other functions would exist to take care of that for you. In which case the function would be `themes_url($path='')` and no optional second parameter. 
    99 
    1010Note that I'm assuming that the guts of this function is essentially going to be a call into the WP_Theme API in the first place, like it should be. Like all theme template tags should be. All theme related stuff should eventually move into there, with suitable wrappers for usage by themes/plugins to make life simpler.