[wp-trac] [WordPress Trac] #20189: Deprecate bloginfo() in favor of siteinfo()

WordPress Trac wp-trac at lists.automattic.com
Tue Mar 6 23:56:22 UTC 2012


#20189: Deprecate bloginfo() in favor of siteinfo()
--------------------------+------------------------------------------------
 Reporter:  benbalter     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.4
 Severity:  trivial       |   Keywords:  2nd-opinion dev-feedback has-patch
--------------------------+------------------------------------------------
 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:

 1. Set up a WordPress site for something other than a blog
 2. Attempt to spit out the site title, url, or stylesheet directory
 3. Be confused why I'm calling my WordPress site a "blog", when I'm using
 it to publish other types of content

 ( Some [http://ben.balter.com/2012/03/05/wordpress-for-government-and-
 enterprise/ 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.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20189>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list