WordPress.org

Make WordPress Core

Changeset 36738


Ignore:
Timestamp:
02/26/2016 05:20:59 PM (4 years ago)
Author:
DrewAPicture
Message:

Docs: Add missing parameter and return notations in the DocBlock for WP_Theme::_name_sort_i18n(), a private usort() helper.

See #32246.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-theme.php

    r36737 r36738  
    13621362     * @access private
    13631363     *
    1364      * @return int
     1364     * @param string $a First name.
     1365     * @param string $b Second name.
     1366     * @return int Negative if `$a` falls lower in the natural order than `$b`. Zero if they fall equally.
     1367     *             Greater than 0 if `$a` falls higher in the natural order than `$b`. Used with uasort().
    13651368     */
    13661369    private static function _name_sort_i18n( $a, $b ) {
Note: See TracChangeset for help on using the changeset viewer.