id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,focuses
5085,Unify generator strings,docwhat,westi,"In WordPress 2.3, there are about a dozen plus places that use a
generator comment or a generator XML element.
I would like to suggest adding an API for building the generator
interfaces. However, to me, the only obvious (and consistent)
generator string is the XML comment.
wp_generator_comment() would generate an XML comment such as:
{{{
#!xml
}}}
I need help figuring out an API for the various XML node formats, such
as:
{{{
#!xml
WordPress.com Atom APIhttp://wordpress.org/?v=http://wordpress.org/?v="">WordPress"">WordPress""/>
}}}
Tracing through the code I couldn't easily tell what bloginfo_rss
returns, I assume it returns $wp_version;
This would prevent repetition of code and allow for admins or plugin developers to add or remove information they are not comfortable sending out.
Ciao!
PS: This is related to bug #5065 in spirit.
",enhancement,closed,normal,2.5,General,2.3,normal,fixed,privacy generator has-patch,,