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/about.php

    r38267 r38459  
    4343$title = __( 'About' );
    4444
    45 list( $display_version ) = explode( '-', $wp_version );
     45list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );
    4646
    4747include( ABSPATH . 'wp-admin/admin-header.php' );
Note: See TracChangeset for help on using the changeset viewer.