Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#24190 closed defect (bug) (fixed)

Undefined variable in edit-form-advanced.php

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


Last trunk commit throws an notice when editing or creating new page:
Notice: Undefined variable: post_format in edit-form-advanced.php

Possible resolution attached.

Attachments (1)

24190.diff (761 bytes) - added by lightningspirit 11 years ago.
Added isset() to $post_format variable

Download all attachments as: .zip

Change History (4)

11 years ago

Added isset() to $post_format variable

#1 @SergeyBiryukov
11 years ago

  • Component changed from Administration to Post Formats
  • Milestone changed from Awaiting Review to 3.6

#2 @SergeyBiryukov
11 years ago

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

In 24097:

Avoid an undefined variable notice. props lightningspirit. fixes #24190.

Note: See TracTickets for help on using tickets.