Docs: Correct `$class` parameter type and description for `body_class` filter.
Props JPry. Fixes #34452. Built from https://develop.svn.wordpress.org/trunk@35398 git-svn-id: http://core.svn.wordpress.org/trunk@35362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ae58f104cb
commit
03a03f7dc6
|
@ -728,8 +728,8 @@ function get_body_class( $class = '' ) {
|
|||
*
|
||||
* @since 2.8.0
|
||||
*
|
||||
* @param array $classes An array of body classes.
|
||||
* @param string $class A comma-separated list of additional classes added to the body.
|
||||
* @param array $classes An array of body classes.
|
||||
* @param array $class An array of additional classes added to the body.
|
||||
*/
|
||||
$classes = apply_filters( 'body_class', $classes, $class );
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.4-beta1-35397';
|
||||
$wp_version = '4.4-beta1-35398';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue