From 57443a60dae1757b13e75458b8a9701d0617803e Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 31 Jul 2019 15:09:55 +0000 Subject: [PATCH] Docs: Correct parameter documentation for `bulk_edit_custom_box` and `quick_edit_custom_box` actions. Props abrain. Fixes #47810. git-svn-id: https://develop.svn.wordpress.org/trunk@45704 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-posts-list-table.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-admin/includes/class-wp-posts-list-table.php b/src/wp-admin/includes/class-wp-posts-list-table.php index 9be84ae2e5..65b52956c7 100644 --- a/src/wp-admin/includes/class-wp-posts-list-table.php +++ b/src/wp-admin/includes/class-wp-posts-list-table.php @@ -1864,8 +1864,8 @@ class WP_Posts_List_Table extends WP_List_Table { * * @since 2.7.0 * - * @param string $column_name Name of the column to edit. - * @param WP_Post $post_type The post type slug. + * @param string $column_name Name of the column to edit. + * @param string $post_type The post type slug. */ do_action( 'bulk_edit_custom_box', $column_name, $screen->post_type ); } else { @@ -1877,7 +1877,7 @@ class WP_Posts_List_Table extends WP_List_Table { * * @param string $column_name Name of the column to edit. * @param string $post_type The post type slug, or current screen name if this is a taxonomy list table. - * @param string taxonomy The taxonomy name, if any. + * @param string $taxonomy The taxonomy name, if any. */ do_action( 'quick_edit_custom_box', $column_name, $screen->post_type, '' ); }