Make WordPress Core


Ignore:
Timestamp:
10/21/2016 05:00:29 PM (8 years ago)
Author:
ocean90
Message:

Revert [38859] due to an incomplete implementation.

See https://core.trac.wordpress.org/ticket/37128#comment:27.
See #37128.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/link-template.php

    r38859 r38863  
    170170            $cats = get_the_category($post->ID);
    171171            if ( $cats ) {
    172                 $cats = wp_list_sort( $cats, array(
    173                     'term_id' => 'ASC',
    174                 ) );
     172                usort($cats, '_usort_terms_by_ID'); // order by ID
    175173
    176174                /**
Note: See TracChangeset for help on using the changeset viewer.