Docs: After [35399], correct `$class` parameter type and description for `post_class` filter.

See #34452.
Built from https://develop.svn.wordpress.org/trunk@35400


git-svn-id: http://core.svn.wordpress.org/trunk@35364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2015-10-26 15:12:24 +00:00
parent 16441a7766
commit a46bf27781
2 changed files with 4 additions and 4 deletions

View File

@ -512,7 +512,7 @@ function get_post_class( $class = '', $post_id = null ) {
* @since 2.7.0 * @since 2.7.0
* *
* @param array $classes An array of post classes. * @param array $classes An array of post classes.
* @param string $class A comma-separated list of additional classes added to the post. * @param array $class An array of additional classes added to the post.
* @param int $post_id The post ID. * @param int $post_id The post ID.
*/ */
$classes = apply_filters( 'post_class', $classes, $class, $post->ID ); $classes = apply_filters( 'post_class', $classes, $class, $post->ID );

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.4-beta1-35399'; $wp_version = '4.4-beta1-35400';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.