WordPress.org

Make WordPress Core

Ticket #18460: 18460.patch

File 18460.patch, 672 bytes (added by SergeyBiryukov, 7 years ago)
  • wp-admin/admin-header.php

     
    8787if ( is_rtl() )
    8888        $admin_body_class .= ' rtl';
    8989
    90 $admin_body_class .= ' branch-' . str_replace( '.', '-', floatval( $wp_version ) );
     90$admin_body_class .= ' branch-' . str_replace( array( '.', ',' ), '-', floatval( $wp_version ) );
    9191$admin_body_class .= ' version-' . str_replace( '.', '-', preg_replace( '/^([.0-9]+).*/', '$1', $wp_version ) );
    9292$admin_body_class .= ' admin-color-' . sanitize_html_class( get_user_option( 'admin_color' ), 'fresh' );
    9393