[wp-trac] [WordPress Trac] #23534: Post formats UI: undefined variable $format_class
WordPress Trac
noreply at wordpress.org
Tue Feb 19 16:51:15 UTC 2013
#23534: Post formats UI: undefined variable $format_class
-----------------------------+--------------------------
Reporter: ethitter | Type: defect (bug)
Status: new | Priority: normal
Milestone: Awaiting Review | Component: Editor
Version: trunk | Severity: normal
Keywords: has-patch |
-----------------------------+--------------------------
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.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23534>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list