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
This commit is contained in:
Sergey Biryukov 2015-10-26 15:11:53 +00:00
parent d8ddd686d5
commit 0dd41231fa
1 changed files with 3 additions and 3 deletions

View File

@ -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 );