#1173 closed enhancement (wontfix)
Suggestion: xml template functions
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Template | Keywords: | |
Focuses: | Cc: |
Description
it would be nice if, rather than inconsistently calling functions such as:
<?php wp_whatever( $before, $after ); ?>
-> returns:
html as appropriate
it might be worth exploring xml output for future versions of wordpress:
<?php xml_whatever(); ?>
-> returns:
<whatever>filters applied</whatever>
so as to xslt transform the result. i think it would be a lot more subtle than anything the template tags currently allow.
Change History (9)
#5
in reply to:
↑ 4
@
18 years ago
Replying to rob1n:
Do we really want to have to rewrite the template functions for a release so close as 2.3? 3.0 might be better, but this might just end up to be a plugin's extension.
2.3 basically means not being considered for this release. I like to have every bug verses a milestone. I don't have the knowledge to know if this is something that should be implemented in core.
#6
@
18 years ago
Makes sense. IMO XML template functions are either plugin material or for a really, really far off rewrite such as 3.0 or even 4.0.
I say we close this as wontfix... it would be simple to do a plugin providing xml_* functions for XPath manipulation.
#8
@
18 years ago
- Keywords dev-feedback removed
- Milestone 2.3 deleted
- Resolution set to wontfix
- Status changed from new to closed
After thinking about it, it's a pretty good idea, but it's better off as a plugin for now.
Do we really want to have to rewrite the template functions for a release so close as 2.3? 3.0 might be better, but this might just end up to be a plugin's extension.