WordPress.org

Make WordPress Core

Ticket #19913: 19913.patch

File 19913.patch, 624 bytes (added by SergeyBiryukov, 9 years ago)
  • wp-includes/general-template.php

     
    20982098        }
    20992099
    21002100        echo apply_filters( 'wp_admin_css', "<link rel='stylesheet' href='" . esc_url( wp_admin_css_uri( $file ) ) . "' type='text/css' />\n", $file );
    2101         if ( is_rtl() )
     2101        if ( function_exists( 'is_rtl' ) && is_rtl() )
    21022102                echo apply_filters( 'wp_admin_css', "<link rel='stylesheet' href='" . esc_url( wp_admin_css_uri( "$file-rtl" ) ) . "' type='text/css' />\n", "$file-rtl" );
    21032103}
    21042104