Make WordPress Core

Changeset 38459


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

Location:
trunk/src
Files:
22 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' );
  • trunk/src/wp-admin/admin-header.php

    r38307 r38459  
    1919 * @global WP_Locale $wp_locale
    2020 * @global string    $pagenow
    21  * @global string    $wp_version
    2221 * @global string    $update_title
    2322 * @global int       $total_update_count
    2423 * @global string    $parent_file
    2524 */
    26 global $title, $hook_suffix, $current_screen, $wp_locale, $pagenow, $wp_version,
     25global $title, $hook_suffix, $current_screen, $wp_locale, $pagenow,
    2726    $update_title, $total_update_count, $parent_file;
    2827
     
    155154    $admin_body_class .= ' taxonomy-' . $current_screen->taxonomy;
    156155
    157 $admin_body_class .= ' branch-' . str_replace( array( '.', ',' ), '-', floatval( $wp_version ) );
    158 $admin_body_class .= ' version-' . str_replace( '.', '-', preg_replace( '/^([.0-9]+).*/', '$1', $wp_version ) );
     156$admin_body_class .= ' branch-' . str_replace( array( '.', ',' ), '-', floatval( get_bloginfo( 'version' ) ) );
     157$admin_body_class .= ' version-' . str_replace( '.', '-', preg_replace( '/^([.0-9]+).*/', '$1', get_bloginfo( 'version' ) ) );
    159158$admin_body_class .= ' admin-color-' . sanitize_html_class( get_user_option( 'admin_color' ), 'fresh' );
    160159$admin_body_class .= ' locale-' . sanitize_html_class( strtolower( str_replace( '_', '-', get_locale() ) ) );
  • 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' );
  • 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' );
  • trunk/src/wp-admin/includes/class-wp-automatic-updater.php

    r38307 r38459  
    372372     * @since 3.7.0
    373373     * @access public
    374      *
    375      * @global wpdb   $wpdb
    376      * @global string $wp_version
    377374     */
    378375    public function run() {
    379         global $wpdb, $wp_version;
    380 
    381376        if ( $this->is_disabled() )
    382377            return;
     
    458453        // Send debugging email to all development installs.
    459454        if ( ! empty( $this->update_results ) ) {
    460             $development_version = false !== strpos( $wp_version, '-' );
     455            $development_version = false !== strpos( get_bloginfo( 'version' ), '-' );
    461456
    462457            /**
     
    495490     * @access protected
    496491     *
    497      * @global string $wp_version
    498      *
    499492     * @param object $update_result The result of the core update. Includes the update offer and result.
    500493     */
    501494    protected function after_core_update( $update_result ) {
    502         global $wp_version;
     495        $wp_version = get_bloginfo( 'version' );
    503496
    504497        $core_update = $update_result->item;
     
    585578     * @access protected
    586579     *
    587      * @global string $wp_version
    588      *
    589580     * @param string $type        The type of email to send. Can be one of 'success', 'fail', 'manual', 'critical'.
    590581     * @param object $core_update The update offer that was attempted.
     
    723714        if ( 'critical' == $type && is_wp_error( $result ) ) {
    724715            $body .= "\n***\n\n";
    725             $body .= sprintf( __( 'Your site was running version %s.' ), $GLOBALS['wp_version'] );
     716            $body .= sprintf( __( 'Your site was running version %s.' ), get_bloginfo( 'version' ) );
    726717            $body .= ' ' . __( 'We have some data that describes the error your site encountered.' );
    727718            $body .= ' ' . __( 'Your hosting company, support forum volunteers, or a friendly developer may be able to use this information to help you:' );
  • trunk/src/wp-admin/includes/class-wp-plugin-install-list-table.php

    r38307 r38459  
    7070     * @global string $type
    7171     * @global string $term
    72      * @global string $wp_version
    7372     */
    7473    public function prepare_items() {
     
    8988            $tabs['search'] = __( 'Search Results' );
    9089        }
    91         if ( $tab === 'beta' || false !== strpos( $GLOBALS['wp_version'], '-' ) ) {
     90        if ( $tab === 'beta' || false !== strpos( get_bloginfo( 'version' ), '-' ) ) {
    9291            $tabs['beta'] = _x( 'Beta Testing', 'Plugin Installer' );
    9392        }
     
    392391    }
    393392
    394     /**
    395      * @global string $wp_version
    396      */
    397393    public function display_rows() {
    398394        $plugins_allowedtags = array(
     
    575571                <div class="column-compatibility">
    576572                    <?php
    577                     if ( ! empty( $plugin['tested'] ) && version_compare( substr( $GLOBALS['wp_version'], 0, strlen( $plugin['tested'] ) ), $plugin['tested'], '>' ) ) {
     573                    $wp_version = get_bloginfo( 'version' );
     574
     575                    if ( ! empty( $plugin['tested'] ) && version_compare( substr( $wp_version, 0, strlen( $plugin['tested'] ) ), $plugin['tested'], '>' ) ) {
    578576                        echo '<span class="compatibility-untested">' . __( 'Untested with your version of WordPress' ) . '</span>';
    579                     } elseif ( ! empty( $plugin['requires'] ) && version_compare( substr( $GLOBALS['wp_version'], 0, strlen( $plugin['requires'] ) ), $plugin['requires'], '<' ) ) {
     577                    } elseif ( ! empty( $plugin['requires'] ) && version_compare( substr( $wp_version, 0, strlen( $plugin['requires'] ) ), $plugin['requires'], '<' ) ) {
    580578                        echo '<span class="compatibility-incompatible">' . __( '<strong>Incompatible</strong> with your version of WordPress' ) . '</span>';
    581579                    } else {
  • trunk/src/wp-admin/includes/class-wp-press-this.php

    r38397 r38459  
    268268     */
    269269    public function fetch_source_html( $url ) {
    270         global $wp_version;
    271 
    272270        if ( empty( $url ) ) {
    273271            return new WP_Error( 'invalid-url', __( 'A valid URL was not provided.' ) );
     
    277275            'timeout' => 30,
    278276            // Use an explicit user-agent for Press This
    279             'user-agent' => 'Press This (WordPress/' . $wp_version . '); ' . get_bloginfo( 'url' )
     277            'user-agent' => 'Press This (WordPress/' . get_bloginfo( 'version' ) . '); ' . get_bloginfo( 'url' )
    280278        ) );
    281279
     
    11901188     *
    11911189     * @global WP_Locale $wp_locale
    1192      * @global string    $wp_version
    11931190     * @global bool      $is_IE
    11941191     */
    11951192    public function html() {
    1196         global $wp_locale, $wp_version;
     1193        global $wp_locale;
     1194
     1195        $wp_version = get_bloginfo( 'version' );
    11971196
    11981197        // Get data, new (POST) and old (GET).
  • trunk/src/wp-admin/includes/credits.php

    r36069 r38459  
    1111 * Retrieve the contributor credits.
    1212 *
    13  * @global string $wp_version The current WordPress version.
    14  *
    1513 * @since 3.2.0
    1614 *
     
    1816 */
    1917function wp_credits() {
    20     global $wp_version;
     18    $wp_version = get_bloginfo( 'version' );
    2119    $locale = get_locale();
    2220
     
    2725        || ( isset( $results['data']['version'] ) && strpos( $wp_version, $results['data']['version'] ) !== 0 )
    2826    ) {
    29         $response = wp_remote_get( "http://api.wordpress.org/core/credits/1.1/?version=$wp_version&locale=$locale" );
     27        $response = wp_remote_get( "http://api.wordpress.org/core/credits/1.1/?version={$wp_version}&locale={$locale}" );
    3028
    3129        if ( is_wp_error( $response ) || 200 != wp_remote_retrieve_response_code( $response ) )
  • trunk/src/wp-admin/includes/dashboard.php

    r38448 r38459  
    13941394 * @since 3.2.0
    13951395 *
    1396  * @global string $wp_version
    1397  *
    13981396 * @return array|bool False on failure, array of browser data on success.
    13991397 */
     
    14051403
    14061404    if ( false === ($response = get_site_transient('browser_' . $key) ) ) {
    1407         global $wp_version;
    1408 
    14091405        $options = array(
    14101406            'body'          => array( 'useragent' => $_SERVER['HTTP_USER_AGENT'] ),
    1411             'user-agent'    => 'WordPress/' . $wp_version . '; ' . home_url()
     1407            'user-agent'    => 'WordPress/' . get_bloginfo( 'version' ) . '; ' . home_url()
    14121408        );
    14131409
  • trunk/src/wp-admin/includes/plugin-install.php

    r38325 r38459  
    424424 *
    425425 * @global string $tab
    426  * @global string $wp_version
    427426 */
    428427function install_plugin_information() {
     
    631630    <div id="section-holder" class="wrap">
    632631    <?php
    633     if ( ! empty( $api->tested ) && version_compare( substr( $GLOBALS['wp_version'], 0, strlen( $api->tested ) ), $api->tested, '>' ) ) {
     632    $wp_version = get_bloginfo( 'version' );
     633
     634    if ( ! empty( $api->tested ) && version_compare( substr( $wp_version, 0, strlen( $api->tested ) ), $api->tested, '>' ) ) {
    634635        echo '<div class="notice notice-warning notice-alt"><p>' . __( '<strong>Warning:</strong> This plugin has <strong>not been tested</strong> with your current version of WordPress.' ) . '</p></div>';
    635     } elseif ( ! empty( $api->requires ) && version_compare( substr( $GLOBALS['wp_version'], 0, strlen( $api->requires ) ), $api->requires, '<' ) ) {
     636    } elseif ( ! empty( $api->requires ) && version_compare( substr( $wp_version, 0, strlen( $api->requires ) ), $api->requires, '<' ) ) {
    636637        echo '<div class="notice notice-warning notice-alt"><p>' . __( '<strong>Warning:</strong> This plugin has <strong>not been marked as compatible</strong> with your version of WordPress.' ) . '</p></div>';
    637638    }
  • trunk/src/wp-admin/plugin-editor.php

    r37914 r38459  
    261261        </div>
    262262        <?php if ( !empty( $docs_select ) ) : ?>
    263         <div id="documentation" class="hide-if-no-js"><label for="docs-list"><?php _e('Documentation:') ?></label> <?php echo $docs_select ?> <input type="button" class="button" value="<?php esc_attr_e( 'Look Up' ) ?> " onclick="if ( '' != jQuery('#docs-list').val() ) { window.open( 'https://api.wordpress.org/core/handbook/1.0/?function=' + escape( jQuery( '#docs-list' ).val() ) + '&amp;locale=<?php echo urlencode( get_locale() ) ?>&amp;version=<?php echo urlencode( $wp_version ) ?>&amp;redirect=true'); }" /></div>
     263        <div id="documentation" class="hide-if-no-js"><label for="docs-list"><?php _e('Documentation:') ?></label> <?php echo $docs_select ?> <input type="button" class="button" value="<?php esc_attr_e( 'Look Up' ) ?> " onclick="if ( '' != jQuery('#docs-list').val() ) { window.open( 'https://api.wordpress.org/core/handbook/1.0/?function=' + escape( jQuery( '#docs-list' ).val() ) + '&amp;locale=<?php echo urlencode( get_locale() ) ?>&amp;version=<?php echo urlencode( get_bloginfo( 'version' ) ) ?>&amp;redirect=true'); }" /></div>
    264264        <?php endif; ?>
    265265<?php if ( is_writeable($real_file) ) : ?>
  • trunk/src/wp-admin/theme-editor.php

    r38424 r38459  
    264264        <label for="docs-list"><?php _e('Documentation:') ?></label>
    265265        <?php echo $docs_select; ?>
    266         <input type="button" class="button" value="<?php esc_attr_e( 'Look Up' ); ?>" onclick="if ( '' != jQuery('#docs-list').val() ) { window.open( 'https://api.wordpress.org/core/handbook/1.0/?function=' + escape( jQuery( '#docs-list' ).val() ) + '&amp;locale=<?php echo urlencode( get_locale() ) ?>&amp;version=<?php echo urlencode( $wp_version ) ?>&amp;redirect=true'); }" />
     266        <input type="button" class="button" value="<?php esc_attr_e( 'Look Up' ); ?>" onclick="if ( '' != jQuery('#docs-list').val() ) { window.open( 'https://api.wordpress.org/core/handbook/1.0/?function=' + escape( jQuery( '#docs-list' ).val() ) + '&amp;locale=<?php echo urlencode( get_locale() ) ?>&amp;version=<?php echo urlencode( get_bloginfo( 'version' ) ) ?>&amp;redirect=true'); }" />
    267267        </div>
    268268    <?php endif; ?>
  • trunk/src/wp-admin/update-core.php

    r38411 r38459  
    2727 * @global string $wp_local_package
    2828 * @global wpdb   $wpdb
    29  * @global string $wp_version
    3029 *
    3130 * @staticvar bool $first_pass
     
    3433 */
    3534function list_core_update( $update ) {
    36     global $wp_local_package, $wpdb, $wp_version;
     35    global $wp_local_package, $wpdb;
    3736    static $first_pass = true;
     37
     38    $wp_version = get_bloginfo( 'version' );
    3839
    3940    if ( 'en_US' == $update->locale && 'en_US' == get_locale() )
     
    150151 * @since 2.7.0
    151152 *
    152  * @global string $wp_version
    153153 * @global string $required_php_version
    154154 * @global string $required_mysql_version
    155155 */
    156156function core_upgrade_preamble() {
    157     global $wp_version, $required_php_version, $required_mysql_version;
    158 
     157    global $required_php_version, $required_mysql_version;
     158
     159    $wp_version = get_bloginfo( 'version' );
    159160    $updates = get_core_updates();
    160161
     
    212213}
    213214
    214 /**
    215  *
    216  * @global string $wp_version
    217  */
    218215function list_plugin_updates() {
    219     global $wp_version;
    220 
    221     $cur_wp_version = preg_replace('/-.*$/', '', $wp_version);
     216    $wp_version = get_bloginfo( 'version' );
     217    $cur_wp_version = preg_replace( '/-.*$/', '', $wp_version );
    222218
    223219    require_once(ABSPATH . 'wp-admin/includes/plugin-install.php');
  • trunk/src/wp-includes/class-http.php

    r38430 r38459  
    102102     * @since 2.7.0
    103103     *
    104      * @global string $wp_version
    105      *
    106104     * @param string       $url  The request URL.
    107105     * @param string|array $args {
     
    117115     *                                             Default '1.0'.
    118116     *     @type string       $user-agent          User-agent value sent.
    119      *                                             Default WordPress/' . $wp_version . '; ' . get_bloginfo( 'url' ).
     117     *                                             Default WordPress/' . get_bloginfo( 'version' ) . '; ' . get_bloginfo( 'url' ).
    120118     *     @type bool         $reject_unsafe_urls  Whether to pass URLs through wp_http_validate_url().
    121119     *                                             Default false.
     
    149147     */
    150148    public function request( $url, $args = array() ) {
    151         global $wp_version;
    152 
    153149        $defaults = array(
    154150            'method' => 'GET',
     
    186182             * @param string $user_agent WordPress user agent string.
    187183             */
    188             'user-agent' => apply_filters( 'http_headers_useragent', 'WordPress/' . $wp_version . '; ' . get_bloginfo( 'url' ) ),
     184            'user-agent' => apply_filters( 'http_headers_useragent', 'WordPress/' . get_bloginfo( 'version' ) . '; ' . get_bloginfo( 'url' ) ),
    189185            /**
    190186             * Filters whether to pass URLs through wp_http_validate_url() in an HTTP request.
  • trunk/src/wp-includes/class-wp-editor.php

    r38349 r38459  
    297297     * @static
    298298     *
    299      * @global string $wp_version
    300299     * @global string $tinymce_version
    301300     *
     
    304303     */
    305304    public static function editor_settings($editor_id, $set) {
    306         global $wp_version, $tinymce_version;
     305        global $tinymce_version;
    307306
    308307        if ( empty(self::$first_init) ) {
     
    560559
    561560                $suffix = SCRIPT_DEBUG ? '' : '.min';
    562                 $version = 'ver=' . $wp_version;
     561                $version = 'ver=' . get_bloginfo( 'version' );
    563562                $dashicons = includes_url( "css/dashicons$suffix.css?$version" );
    564563
     
    11321131     *
    11331132     * @static
    1134      * @global string $wp_version
    11351133     * @global string $tinymce_version
    11361134     * @global bool   $concatenate_scripts
     
    11381136     */
    11391137    public static function editor_js() {
    1140         global $wp_version, $tinymce_version, $concatenate_scripts, $compress_scripts;
     1138        global $tinymce_version, $concatenate_scripts, $compress_scripts;
    11411139
    11421140        /**
     
    12161214        $baseurl = self::$baseurl;
    12171215        // Load tinymce.js when running from /src, else load wp-tinymce.js.gz (production) or tinymce.min.js (SCRIPT_DEBUG)
    1218         $mce_suffix = false !== strpos( $wp_version, '-src' ) ? '' : '.min';
     1216        $mce_suffix = false !== strpos( get_bloginfo( 'version' ), '-src' ) ? '' : '.min';
    12191217
    12201218        if ( $tmce_on ) {
  • trunk/src/wp-includes/class-wp-locale.php

    r38316 r38459  
    126126     *
    127127     * @global string $text_direction
    128      * @global string $wp_version
    129128     */
    130129    public function init() {
     
    232231            $this->text_direction = 'rtl';
    233232
    234         if ( 'rtl' === $this->text_direction && strpos( $GLOBALS['wp_version'], '-src' ) ) {
     233        if ( 'rtl' === $this->text_direction && strpos( get_bloginfo( 'version' ), '-src' ) ) {
    235234            $this->text_direction = 'ltr';
    236235            add_action( 'all_admin_notices', array( $this, 'rtl_src_admin_notice' ) );
  • trunk/src/wp-includes/class-wp-xmlrpc-server.php

    r38275 r38459  
    414414     *
    415415     * @since 2.6.0
    416      *
    417      * @global string $wp_version
    418416     */
    419417    public function initialise_blog_option_info() {
    420         global $wp_version;
    421 
    422418        $this->blog_options = array(
    423419            // Read only options
     
    430426                'desc'          => __( 'Software Version' ),
    431427                'readonly'      => true,
    432                 'value'         => $wp_version
     428                'value'         => get_bloginfo( 'version' )
    433429            ),
    434430            'blog_url'          => array(
     
    61876183     * @since 1.5.0
    61886184     *
    6189      * @global string $wp_version
    6190      *
    61916185     * @param array  $args {
    61926186     *     Method arguments. Note: arguments must be ordered as documented.
     
    61986192     */
    61996193    public function pingback_ping( $args ) {
    6200         global $wp_version;
    6201 
    62026194        /** This action is documented in wp-includes/class-wp-xmlrpc-server.php */
    62036195        do_action( 'xmlrpc_call', 'pingback.ping' );
     
    62866278
    62876279        /** This filter is documented in wp-includes/class-http.php */
    6288         $user_agent = apply_filters( 'http_headers_useragent', 'WordPress/' . $wp_version . '; ' . get_bloginfo( 'url' ) );
     6280        $user_agent = apply_filters( 'http_headers_useragent', 'WordPress/' . get_bloginfo( 'version' ) . '; ' . get_bloginfo( 'url' ) );
    62896281
    62906282        // Let's check the remote site
  • trunk/src/wp-includes/comment.php

    r38411 r38459  
    23632363 * @since 0.71
    23642364 *
    2365  * @global string $wp_version
    2366  *
    23672365 * @param string $content Post content to check for links.
    23682366 * @param int $post_ID Post ID.
    23692367 */
    23702368function pingback($content, $post_ID) {
    2371     global $wp_version;
    2372 
    23732369    // original code by Mort (http://mort.mine.nu:8080)
    23742370    $post_links = array();
     
    24362432             * @param string $pagelinkedfrom      URL of page linked from.
    24372433             */
    2438             $client->useragent = apply_filters( 'pingback_useragent', $client->useragent . ' -- WordPress/' . $wp_version, $client->useragent, $pingback_server_url, $pagelinkedto, $pagelinkedfrom );
     2434            $client->useragent = apply_filters( 'pingback_useragent', $client->useragent . ' -- WordPress/' . get_bloginfo( 'version' ), $client->useragent, $pingback_server_url, $pagelinkedto, $pagelinkedfrom );
    24392435            // when set to true, this outputs debug messages by itself
    24402436            $client->debug = false;
     
    25052501 * @since 1.2.0
    25062502 *
    2507  * @global string $wp_version
    2508  *
    25092503 * @param string $server Host of blog to connect to.
    25102504 * @param string $path Path to send the ping.
    25112505 */
    25122506function weblog_ping($server = '', $path = '') {
    2513     global $wp_version;
    2514 
    25152507    // using a timeout of 3 seconds should be enough to cover slow servers
    25162508    $client = new WP_HTTP_IXR_Client($server, ((!strlen(trim($path)) || ('/' == $path)) ? false : $path));
    25172509    $client->timeout = 3;
    2518     $client->useragent .= ' -- WordPress/'.$wp_version;
     2510    $client->useragent .= ' -- WordPress/' . get_bloginfo( 'version' );
    25192511
    25202512    // when set to true, this outputs debug messages by itself
  • trunk/src/wp-includes/formatting.php

    r38359 r38459  
    49284928 * @since 4.6.0
    49294929 * @access private
    4930  *
    4931  * @global string $wp_version WordPress version string.
    49324930 */
    49334931function _print_emoji_detection_script() {
    4934     global $wp_version;
    4935 
    49364932    $settings = array(
    49374933        /**
     
    49724968    );
    49734969
    4974     $version = 'ver=' . $wp_version;
     4970    $version = 'ver=' . get_bloginfo( 'version' );
    49754971
    49764972    if ( SCRIPT_DEBUG ) {
  • trunk/src/wp-includes/general-template.php

    r38443 r38459  
    33453345 *
    33463346 * @since 3.0.0
    3347  *
    3348  * @global string $wp_version
    33493347 */
    33503348function register_admin_color_schemes() {
     
    33593357
    33603358    // Other color schemes are not available when running out of src
    3361     if ( false !== strpos( $GLOBALS['wp_version'], '-src' ) )
     3359    if ( false !== strpos( get_bloginfo( 'version' ), '-src' ) ) {
    33623360        return;
     3361    }
    33633362
    33643363    wp_admin_css_color( 'light', _x( 'Light', 'admin color scheme' ),
  • 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();
  • trunk/src/wp-includes/media.php

    r38437 r38459  
    38113811 * @since 4.0.0
    38123812 *
    3813  * @global string $wp_version
    3814  *
    38153813 * @return array The relevant CSS file URLs.
    38163814 */
    38173815function wpview_media_sandbox_styles() {
    3818     $version = 'ver=' . $GLOBALS['wp_version'];
     3816    $version = 'ver=' . get_bloginfo( 'version' );
    38193817    $mediaelement = includes_url( "js/mediaelement/mediaelementplayer.min.css?$version" );
    38203818    $wpmediaelement = includes_url( "js/mediaelement/wp-mediaelement.css?$version" );
Note: See TracChangeset for help on using the changeset viewer.