[wp-trac] [WordPress Trac] #41092: PHP Fatal error: Uncaught Error: Call to undefined function get_bloginfo
WordPress Trac
noreply at wordpress.org
Wed Mar 27 13:26:57 UTC 2019
#41092: PHP Fatal error: Uncaught Error: Call to undefined function get_bloginfo
-------------------------------------+-----------------------------
Reporter: parsmizban | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.2
Component: Bootstrap/Load | Version: 4.8
Severity: critical | Resolution: fixed
Keywords: has-patch needs-testing | Focuses: rtl
-------------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* owner: (none) => SergeyBiryukov
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"45029" 45029]:
{{{
#!CommitTicketReference repository="" revision="45029"
Bootstrap/Load: Restore `$wp_version` global check in `WP_Locale::init()`,
previously replaced with `get_bloginfo( 'version' )` in [38459].
`wp_load_translations_early()` can be called in contexts where
`get_bloginfo()` is not available yet, e.g. in
`wp_check_php_mysql_versions()`.
Props shazdeh, parsmizban.
Fixes #41092.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41092#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list