Make WordPress Core


Ignore:
Timestamp:
08/31/2016 05:48:49 AM (8 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-admin/freedoms.php

    r38325 r38459  
    1212$title = __( 'Freedoms' );
    1313
    14 list( $display_version ) = explode( '-', $wp_version );
     14list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );
    1515
    1616include( ABSPATH . 'wp-admin/admin-header.php' );
Note: See TracChangeset for help on using the changeset viewer.