Make WordPress Core

Opened 22 months ago

Last modified 13 months ago

#43639 new defect (bug)

wp_terms_checklist post_id argument is null, should be 0

Reported by: tareiking Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: administration Cc:
PR Number:


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

Change History (1)

#1 @pento
13 months ago

  • Version trunk deleted
Note: See TracTickets for help on using tickets.