Opened 13 years ago
Closed 13 years ago
#23534 closed defect (bug) (fixed)
Post formats UI: undefined variable $format_class
| Reported by: | ethitter | Owned by: | helen |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.6 |
| Component: | Editor | Version: | 3.6 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 23456: