Make WordPress Core

#24112 closed defect (bug) (fixed)

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

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


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 months ago.

Download all attachments as: .zip

Change History (3)

comment:1 DrewAPicture12 months ago

  • Keywords has-patch added
  • Version set to trunk

comment:2 SergeyBiryukov12 months 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.