#22333 closed enhancement (fixed)
Add IDs to .misc-pub-section divs in meta-boxes.php
| Reported by: | nofearinc | Owned by: | helen |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.7 |
| Component: | Administration | Version: | 3.4 |
| Severity: | normal | Keywords: | 3.7-early has-patch commit |
| Cc: | Focuses: |
Description
In wp-admin/includes/meta-boxes.php the post_submit_meta_box has several sections with class .misc-pub-section. Should you have to style/alter any of them, it's not consistent as:
- first div has only
class="misc-pub-section" - second div has
class="misc-pub-section" id="visibility" - third div has
class="misc-pub-section curtime"
Since this is a unique box on the screen, I've added two more IDs to div blocks 1 and 3 to allow for easier styling changes.
Attachments (3)
Change History (12)
#3
@
13 years ago
Would be nice to just give these descriptive classes. IDs aren't really a necessity.
Also, there's a new .misc-pub-section in core.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
meta-boxes.php patch for IDs