#9222 closed defect (bug) (duplicate)
bug with wp_title() on homepage
| Reported by: | thomask | Owned by: | |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | General | Version: | 2.7.1 |
| Severity: | trivial | Keywords: | |
| Cc: | Focuses: |
Description
i have posted a bugreport that wp_title is not working on homepage for both static page and news page. I do not see it here, but i have probably found the problem
in general-template.php, in wp_title function, row 435, there is
if ( is_single() ( is_page() && !is_front_page() ) ) {
so the front page is explicitely excluded. And the problem is, that there is no definition for front page. So you should add definition for front page, or delete "&& !is_front_page()" part (but i do not know if it would work for front_page which is not Page)
Change History (1)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Closed as dup of #9221