core – Is the information returned by get_bloginfo( ‘version’ ) always the same as the one in version.php?
Question
In the WordPress Core, I see some cases doing:
$wp_version = get_bloginfo( 'version' );
And other cases doing:
// include an unmodified $wp_version
include( ABSPATH . WPINC . '/version.php' );
That comment about including an unmodified $wp_version
makes me wonder what could make the first case return a different value than the second one.
Why would they be different?
0
3 weeks
2022-07-20T05:09:24-05:00
2022-07-20T05:09:24-05:00 0 Answers
0 views
0
Leave an answer