From 8a105470b4927644ef1e1269426c3abce4734721 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 26 Oct 2015 15:02:53 +0000 Subject: [PATCH] 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 --- src/wp-includes/post-template.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/post-template.php b/src/wp-includes/post-template.php index 92ccf45663..5c1f2f284c 100644 --- a/src/wp-includes/post-template.php +++ b/src/wp-includes/post-template.php @@ -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 );