Opened 11 years ago
Closed 11 years ago
#23534 closed defect (bug) (fixed)
Post formats UI: undefined variable $format_class
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.6 | Priority: | normal |
Severity: | normal | Version: | 3.6 |
Component: | Editor | Keywords: | has-patch |
Focuses: | Cc: |
Description
With the Post Formats UI changes that landed in r23449, the following PHP notice appears if a theme supports no formats:
Undefined variable: format_class in /wp-admin/edit-form-advanced.php on line 352
The attached patch ensures that $format_class
is always defined.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
In 23456: