Ticket #10678 (closed defect (bug): fixed)

Opened 3 years ago

Last modified 3 years ago

array_map callback should be in quotes

Reported by: harrym Owned by:
Priority: low Milestone: 2.9
Component: Quick/Bulk Edit Version: 2.8.4
Severity: normal Keywords:
Cc:

Description

At line 249 in /wp-admin/includes/post.php, the callback (absint) should be in quotes. It currently generates a notice before headers are emitted, breaking the page when E_NOTICE is enabled.

Change History

  • Keywords bulk_edit_posts removed
  • Version set to 2.8.4
  • Component changed from Administration to Quick Edit
  • Milestone changed from Unassigned to 2.9
  • Status changed from new to closed
  • Resolution set to fixed

(In [11872]) Fix notice in wp-admin/includes/post.php, props harrym, fixes #10678 for 2.8

In [11871] for trunk

Note: See TracTickets for help on using tickets.