From 24a301e06e5396b28c05adfb34e7fe41f700d9eb Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Fri, 26 Feb 2016 17:21:25 +0000 Subject: [PATCH] Docs: Add missing parameter and return notations in the DocBlock for `WP_Theme::_name_sort_i18n()`, a private `usort()` helper. See #32246. Built from https://develop.svn.wordpress.org/trunk@36738 git-svn-id: http://core.svn.wordpress.org/trunk@36705 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-theme.php | 5 ++++- wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/wp-includes/class-wp-theme.php b/wp-includes/class-wp-theme.php index 7471b506bb..1fbe16d562 100644 --- a/wp-includes/class-wp-theme.php +++ b/wp-includes/class-wp-theme.php @@ -1361,7 +1361,10 @@ final class WP_Theme implements ArrayAccess { * @static * @access private * - * @return int + * @param string $a First name. + * @param string $b Second name. + * @return int Negative if `$a` falls lower in the natural order than `$b`. Zero if they fall equally. + * Greater than 0 if `$a` falls higher in the natural order than `$b`. Used with uasort(). */ private static function _name_sort_i18n( $a, $b ) { // Don't mark up; Do translate. diff --git a/wp-includes/version.php b/wp-includes/version.php index 6c2cf13c10..56ee627a59 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-beta1-36737'; +$wp_version = '4.5-beta1-36738'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.