mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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:
@@ -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 );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user