WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#8707 closed defect (bug) (fixed)

php notices in debug mode for mass post edit

Reported by: mrmist Owned by:
Milestone: 2.7.1 Priority: normal
Severity: trivial Version: 2.7
Component: General Keywords: notice
Focuses: Cc:

Description

Prevent the use of bulk edit from edit posts view with wp_debug as the resultant page after pressing update then gives

Notice: Undefined index: post_type in wp-admin/includes/post.php on line 231

Notice: Use of undefined constant intval - assumed 'intval' in /wp-admin/includes/post.php on line 239

Warning: Cannot modify header information - headers already sent by (output started at wp-admin/includes/post.php:231) in wp-includes/pluggable.php on line 850

Change History (3)

comment:1 @azaozz7 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [10256]) Fix debug notices for bulk edit, fixes #8707 for trunk

comment:2 @azaozz7 years ago

  • Milestone changed from 2.8 to 2.7.1
  • Resolution fixed deleted
  • Status changed from closed to reopened

Reopen for 2.7

comment:3 @azaozz7 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed

(In [10257]) Fix debug notices for bulk edit, fixes #8707 for 2.7

Note: See TracTickets for help on using tickets.