mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Docs: Correct $class parameter type and description for body_class filter.
Props JPry. Fixes #34452. git-svn-id: https://develop.svn.wordpress.org/trunk@35398 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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 );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user