From 0dd41231facbc981f55cf1bfa4d20bd5b6933735 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 26 Oct 2015 15:11:53 +0000 Subject: [PATCH] Docs: After [35399], correct `$class` parameter type and description for `post_class` filter. See #34452. git-svn-id: https://develop.svn.wordpress.org/trunk@35400 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/post-template.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/post-template.php b/src/wp-includes/post-template.php index b3fd95c7c1..7748785922 100644 --- a/src/wp-includes/post-template.php +++ b/src/wp-includes/post-template.php @@ -511,9 +511,9 @@ function get_post_class( $class = '', $post_id = null ) { * * @since 2.7.0 * - * @param array $classes An array of post classes. - * @param string $class A comma-separated list of additional classes added to the post. - * @param int $post_id The post ID. + * @param array $classes An array of post classes. + * @param array $class An array of additional classes added to the post. + * @param int $post_id The post ID. */ $classes = apply_filters( 'post_class', $classes, $class, $post->ID );