From d5156105b330a8a0d5df27600a0880fcde96c92f Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Mon, 11 Aug 2014 21:21:16 +0000 Subject: [PATCH] Correct the docblock for the `registered_post_type` action. Fixes #29184. Built from https://develop.svn.wordpress.org/trunk@29468 git-svn-id: http://core.svn.wordpress.org/trunk@29246 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/post.php b/wp-includes/post.php index eaeedd5053..d9d48a56fe 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -1458,7 +1458,7 @@ function register_post_type( $post_type, $args = array() ) { * @since 3.3.0 * * @param string $post_type Post type. - * @param array $args Arguments used to register the post type. + * @param object $args Arguments used to register the post type. */ do_action( 'registered_post_type', $post_type, $args );