Deprecate bloginfo() in favor of siteinfo()
|Reported by:||benbalter||Owned by:|
The function bloginfo() should be deprecated in favor of a more aptly named siteinfo().
The function traces its roots back to version 0.71, and no longer properly describes its use, especially after 3.0's custom post type and custom taxonomy functionality. Put another way, the technology we have created has outpaced the metaphor we use to describe it.
Especially in the buttoned-up context of enterprise installs, “blog” can be a dirty word and helps to perpetuate the perception that WordPress is nothing more than a mere blogging engine (rather than a full-fledged CMS) and should not be considered for "serious" content management needs. Yet, to get the title of any site, regardless of content, the command we all still run is get_bloginfo().
Steps to reproduce:
- Set up a WordPress site for something other than a blog
- Attempt to spit out the site title, url, or stylesheet directory
- Be confused why I'm calling my WordPress site a "blog", when I'm using it to publish other types of content
( Some background )
Yes, on paper it's a somewhat trivial issue, and may require a broader, somewhat existential discussion to resolve, but internal terminology ultimately leads to external perceptions, and it is a discussion well worth raising, if it hasn't already been hashed out elsewhere.
Change History (4)
- Keywords 2nd-opinion dev-feedback has-patch removed
- Milestone Awaiting Review deleted
- Resolution set to maybelater
- Status changed from new to closed