[wp-trac] [WordPress Trac] #43639: wp_terms_checklist post_id argument is null, should be 0

WordPress Trac noreply at wordpress.org
Mon Mar 26 21:33:38 UTC 2018


#43639: wp_terms_checklist post_id argument is null, should be 0
----------------------------+-----------------------------
 Reporter:  tareiking       |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  General         |    Version:  trunk
 Severity:  normal          |   Keywords:
  Focuses:  administration  |
----------------------------+-----------------------------
 In `includes/class-wp-posts-list-table.php` we call `wp_terms_checklist`
 with post_id set to `null`.

 `wp_terms_checklist` post_id argument should be an int and `0` is used as
 the default elsewhere (ie: ajax-actions.php).

 Reference: [https://core.trac.wordpress.org/browser/trunk/src/wp-
 admin/includes/class-wp-posts-list-table.php#L1543]

--
Ticket URL: <https://core.trac.wordpress.org/ticket/43639>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list