From 812d110c5de03beb8de258282966ee827e11aa63 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 31 Jul 2021 09:49:35 +0000 Subject: [PATCH] Taxonomy: Pass correct default value for `$post_id` to `wp_terms_checklist()` in the posts list table. This matches the documented type of the `$post_id` argument and is consistent with other instances of `wp_terms_checklist()` calls. Per the function documentation, the default value is integer `0`, not `null`. Follow-up to [13535]. Props tareiking, donmhico, jrf. Fixes #43639. git-svn-id: https://develop.svn.wordpress.org/trunk@51520 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-posts-list-table.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 860e48e58f..f8687efb95 100644 --- a/src/wp-admin/includes/class-wp-posts-list-table.php +++ b/src/wp-admin/includes/class-wp-posts-list-table.php @@ -1725,7 +1725,7 @@ class WP_Posts_List_Table extends WP_List_Table { labels->name ); ?>