Make WordPress Core


Ignore:
Timestamp:
08/31/2016 05:48:49 AM (9 years ago)
Author:
wonderboymusic
Message:

General: use get_bloginfo( 'version' ) instead of global $wp_version in several locations - excluding those locations which reload version.php mid-flight.

See #37699.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/link-template.php

    r38411 r38459  
    28982898 * @since 2.6.0
    28992899 *
    2900  * @global bool   $is_IE      Whether the browser matches an Internet Explorer user agent.
    2901  * @global string $wp_version WP version.
    2902  *
    2903  * @global bool          $is_IE
    2904  * @global string        $wp_version
     2900 * @global bool          $is_IE      Whether the browser matches an Internet Explorer user agent.
    29052901 * @global WP_Press_This $wp_press_this
    29062902 *
     
    29082904 */
    29092905function get_shortcut_link() {
    2910     global $is_IE, $wp_version;
     2906    global $is_IE;
    29112907
    29122908    $GLOBALS['wp_press_this'] = new WP_Press_This();
Note: See TracChangeset for help on using the changeset viewer.