Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#46101 closed defect (bug) (wontfix)

Deprecating get_bloginfo() & bloginfo() to get_siteinfo() & siteinfo()

Reported by: sebastienserre's profile sebastienserre Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords: close
Focuses: Cc:



As WP 5.1 will remove all "blog" references, does it make sens to deprecate get_bloginfo() & bloginfo() and create similar function get_siteinfo() and diteinfo() ?

Change History (3)

#1 @swissspidy
5 years ago

  • Keywords close added

get_bloginfo() is probably one of the most used functions in WordPress. There‘s no real value in renaming it just for the sake of it.

#2 @jeremyfelt
5 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

Agreed. Documentation changes (like #41000) are much easier because they don't impact developer code. Deprecating something like get_bloginfo() would probably only make sense if we were also refactoring how it worked and where it pulled its data from. There will be plenty more "blog" references for years to come. :)

This ticket was mentioned in Slack in #core by subratasarkar. View the logs.

5 years ago

Note: See TracTickets for help on using tickets.