Docs: Correct various docblocks documentation.

See #48303

git-svn-id: https://develop.svn.wordpress.org/trunk@46821 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn
2019-12-06 22:21:07 +00:00
parent 8ed3551c81
commit bcfccc7344
12 changed files with 23 additions and 24 deletions
@@ -580,8 +580,8 @@ class WP_List_Table {
*
* @since 3.7.0
*
* @param object $months The months drop-down query results.
* @param string $post_type The post type.
* @param object[] $months Array of the months drop-down query results.
* @param string $post_type The post type.
*/
$months = apply_filters( 'months_dropdown_results', $months, $post_type );
+2 -2
View File
@@ -219,8 +219,8 @@ function wp_nav_menu_post_type_meta_boxes() {
*
* @since 3.0.0
*
* @param object $meta_box_object The current object to add a menu items
* meta box for.
* @param WP_Post_Type|false $post_type The current object to add a menu items
* meta box for.
*/
$post_type = apply_filters( 'nav_menu_meta_box_object', $post_type );
if ( $post_type ) {