Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#24112 closed defect (bug) (fixed)

PHP error notice when post type doesn't support post formats

Reported by: danielbachhuber's profile danielbachhuber Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 3.6 Priority: low
Severity: minor Version: 3.6
Component: Post Formats Keywords: has-patch
Focuses: Cc:

Description

Notice: Undefined variable: post_format_set_class in /srv/www/wordpress-trunk/wp-admin/edit-form-advanced.php on line 365 Call Stack #TimeMemoryFunctionLocation 10.0032334324{main}( )../post-new.php:0 20.20613744300include( '/srv/www/wordpress-trunk/wp-admin/edit-form-advanced.php' )../post-new.php:54 ">

Attachments (1)

pf-error-notice.diff (495 bytes) - added by danielbachhuber 12 years ago.

Download all attachments as: .zip

Change History (3)

#1 @DrewAPicture
12 years ago

  • Keywords has-patch added
  • Version set to trunk

#2 @SergeyBiryukov
12 years ago

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

In 24011:

Make sure the variables are always defined. props tlovett1, danielbachhuber. fixes #24034. fixes #24112.

Note: See TracTickets for help on using tickets.