WordPress.org

Make WordPress Core


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

    r38244 r38459  
    1313$title = __( 'Credits' );
    1414
    15 list( $display_version ) = explode( '-', $wp_version );
     15list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );
    1616
    1717include( ABSPATH . 'wp-admin/admin-header.php' );
Note: See TracChangeset for help on using the changeset viewer.