#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() ?
Change History (3)
#2
@
6 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.
6 years ago
Note: See
TracTickets for help on using
tickets.
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.