Make WordPress Core

Changeset 36737


Ignore:
Timestamp:
02/26/2016 05:18:52 PM (9 years ago)
Author:
DrewAPicture
Message:

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

See #32246.

File:
1 edited

Legend:

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

    r36736 r36737  
    13451345     * @access private
    13461346     *
    1347      * @return int
     1347     * @param string $a First name.
     1348     * @param string $b Second name.
     1349     * @return int Negative if `$a` falls lower in the natural order than `$b`. Zero if they fall equally.
     1350     *             Greater than 0 if `$a` falls higher in the natural order than `$b`. Used with uasort().
    13481351     */
    13491352    private static function _name_sort( $a, $b ) {
Note: See TracChangeset for help on using the changeset viewer.