Opened 12 years ago
Closed 12 years ago
#24653 closed enhancement (fixed)
Twenty Thirteen: Cleanup functions.php
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 3.6 | Priority: | normal |
Severity: | normal | Version: | 3.6 |
Component: | Bundled Theme | Keywords: | has-patch |
Focuses: | Cc: |
Description
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 toadd_editor_style()
where it accepts full URLs and escapes commas in those URLs).
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Patch addresses:
twentythirteen_paging_nav()
.twentythirteen_the_attached_image()
.require
statements (not a function).