[wp-trac] [WordPress Trac] #24653: Twenty Thirteen: Cleanup functions.php

WordPress Trac noreply at wordpress.org
Thu Jun 27 22:57:23 UTC 2013


#24653: Twenty Thirteen: Cleanup functions.php
---------------------------+-----------------------
 Reporter:  obenland       |      Owner:
     Type:  enhancement    |     Status:  new
 Priority:  normal         |  Milestone:  3.6
Component:  Bundled Theme  |    Version:  trunk
 Severity:  normal         |   Keywords:  has-patch
---------------------------+-----------------------
 [https://irclogs.wordpress.org/chanlog.php?channel=wordpress-
 dev&day=2013-06-27&sort=asc#m634059 Based on Nacin's feedback], there are
 a few things that can be cleaned up:

 * Missing period in sidebar description.
 * Redundant conditional tags in `twentythirteen_paging_nav()`.
 * Further simplify `twentythirteen_the_attached_image()`.
 * Use `add_editor_style()` instead of adding a `'mce_css'` callback
 (Requires a change to `add_editor_style()` where it accepts full URLs and
 escapes commas in those URLs).

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24653>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list