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:
parent
16441a7766
commit
a46bf27781
|
@ -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 );
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @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.
|
||||
|
|
Loading…
Reference in New Issue