#24967 closed enhancement (invalid)
Twenty Fourteen: Add ID to comment for closing div in sidebar.php
| Reported by: | Jonnyauk | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Bundled Theme | Version: | 3.8 |
| Severity: | minor | Keywords: | |
| Cc: | Focuses: |
Description
I have noticed that most of the closing div's in Twenty Fourteen have their ID and class in a code comment (which is nice!) - see the patch attached for a proposed amendment to sidebar.php with the class added to the closing div for consistency.
Attachments (1)
Change History (3)
#1
@
13 years ago
- Keywords has-patch removed
- Milestone Awaiting Review
- Resolution → invalid
- Status new → closed
Thanks Jonnyauk!
We have a convention for this throughout the template files: if the element has only a class, that is the closing comment. If it has an ID, then we use just the ID.
Noting this was fixed properly with r25023.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
v1 patch file for sidebar.php