Make WordPress Core

Ticket #26206: 26206.patch

File 26206.patch, 779 bytes (added by richard2222, 13 years ago)

diff file

  • wp-includes/class-wp-theme.php

    diff --git wp-includes/class-wp-theme.php wp-includes/class-wp-theme.php
    index ba07555..068fff8 100644
    final class WP_Theme implements ArrayAccess {  
    11831183         *
    11841184         * @since 3.4.0
    11851185         * @access private
     1186         *
     1187         * @param WP_Theme $a
     1188         * @param WP_Theme $b
     1189         * @return int
    11861190         */
    11871191        private static function _name_sort( $a, $b ) {
    11881192                return strnatcasecmp( $a->headers['Name'], $b->headers['Name'] );
    final class WP_Theme implements ArrayAccess {  
    11931197         *
    11941198         * @since 3.4.0
    11951199         * @access private
     1200         *
     1201         * @param WP_Theme $a
     1202         * @param WP_Theme $b
     1203         * @see _name_sort
     1204         * @return int
    11961205         */
    11971206        private static function _name_sort_i18n( $a, $b ) {
    11981207                // Don't mark up; Do translate.