WordPress is not emitting class="current_page_item" for a page used as static front page display
|Reported by:||yanggers||Owned by:||ShaneF|
|Component:||General||Keywords:||has-patch tested commit|
The problem is apparent when using themes with navigation headers that lists user-created pages, with the latest posts as "home" or front page by default. One such theme is MistyLook by Sadish, which is widely used both by Wordpress.com and self-setup bloggers. When the user sets the front page to be a static user-created-page, navigating to this "home" front page does not let the header know it is at "home" or front page, not letting the header to highlight the appropriate navigation header.
This problem has been discussed elsewhere, http://wprocks.com/forums/comments.php?DiscussionID=1009, and has been determined to be a Wordpress code issue rather than theme code issue. Specifically, WordPress is not emitting class="current_page_item" for a page used as static front page display.
Change History (17)
- Owner changed from anonymous to ShaneF
- Status changed from new to assigned
comment:13 @filosofo — 6 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
- Type changed from enhancement to defect
- Version set to 2.7