From b8180d3d1421e93c92a4e2e596219ce8b5f82680 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Thu, 18 Jun 2015 21:32:53 +0000 Subject: [PATCH] Correct the docs for the `post_type_labels_{$post_type}` filter. Fixes #32707 Props dlh git-svn-id: https://develop.svn.wordpress.org/trunk@32849 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/post.php b/src/wp-includes/post.php index 1c238a5bff..4ceed52e9f 100644 --- a/src/wp-includes/post.php +++ b/src/wp-includes/post.php @@ -1676,7 +1676,7 @@ function get_post_type_labels( $post_type_object ) { * * @see get_post_type_labels() for the full list of labels. * - * @param array $labels Array of labels for the given post type. + * @param object $labels Object with labels for the post type as member variables. */ return apply_filters( "post_type_labels_{$post_type}", $labels ); }