WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#46101 closed defect (bug) (wontfix)

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

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

Description

Hello

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() ?

https://core.trac.wordpress.org/ticket/41000

Change History (3)

#1 @swissspidy
2 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
2 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.


2 years ago

Note: See TracTickets for help on using tickets.