Make WordPress Core

Ticket #34565: 34565.patch

File 34565.patch, 743 bytes (added by sebastian.pisula, 9 years ago)
  • wp-includes/class-wp-theme.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    12731273         */
    12741274        public static function sort_by_name( &$themes ) {
    12751275                if ( 0 === strpos( get_locale(), 'en_' ) ) {
    1276                         uasort( $themes, array( 'WP_Theme', '_name_sort' ) );
     1276                        @uasort( $themes, array( 'WP_Theme', '_name_sort' ) );
    12771277                } else {
    1278                         uasort( $themes, array( 'WP_Theme', '_name_sort_i18n' ) );
     1278                        @uasort( $themes, array( 'WP_Theme', '_name_sort_i18n' ) );
    12791279                }
    12801280        }
    12811281