Docs: Add a missing description for the &$themes
parameter in the DocBlock for WP_Theme::sort_by_name()
.
See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@36736 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
223b94a039
commit
06eced0604
@ -1316,12 +1316,14 @@ final class WP_Theme implements ArrayAccess {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sort themes by name.
|
* Sorts themes by name.
|
||||||
*
|
*
|
||||||
* @since 3.4.0
|
* @since 3.4.0
|
||||||
*
|
*
|
||||||
* @static
|
* @static
|
||||||
* @access public
|
* @access public
|
||||||
|
*
|
||||||
|
* @param array $themes Array of themes to sort, passed by reference.
|
||||||
*/
|
*/
|
||||||
public static function sort_by_name( &$themes ) {
|
public static function sort_by_name( &$themes ) {
|
||||||
if ( 0 === strpos( get_locale(), 'en_' ) ) {
|
if ( 0 === strpos( get_locale(), 'en_' ) ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user