Changes between Initial Version and Version 1 of Ticket #18302, comment 44
- Timestamp:
- 09/05/2012 09:57:17 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #18302, comment 44
initial v1 6 6 Presumably, most themes wouldn't be using that parameter anyway. 7 7 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.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. 9 9 10 10 Note 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.