Docs: Correct $post parameter description for display_post_states filter.

Props grapplerulrich.
Fixes #34541.

git-svn-id: https://develop.svn.wordpress.org/trunk@35484 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2015-11-01 14:05:42 +00:00
parent 204bad4685
commit bce985a5d7

View File

@@ -1686,8 +1686,8 @@ function _post_states($post) {
*
* @since 2.8.0
*
* @param array $post_states An array of post display states.
* @param int $post The post ID.
* @param array $post_states An array of post display states.
* @param WP_Post $post The current post object.
*/
$post_states = apply_filters( 'display_post_states', $post_states, $post );