[buddypress-trac] [BuddyPress Trac] #6153: is_page AND is_single both set on page footer (reproducable
buddypress-trac
noreply at wordpress.org
Fri Feb 13 18:35:50 UTC 2015
#6153: is_page AND is_single both set on page footer (reproducable
------------------------------+---------------------
Reporter: juggledad | Owner: r-a-y
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 2.3
Component: Component - Core | Version: 1.9.2
Severity: normal | Resolution: fixed
Keywords: has-patch |
------------------------------+---------------------
Changes (by r-a-y):
* owner: => r-a-y
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"9484"]:
{{{
#!CommitTicketReference repository="" revision="9484"
Theme compat: Streamline toggling of `$wp_query` properties during theme
compatibility.
on BuddyPress pages by toggling the `$wp_query` `is_single` and `is_page`
properties to `false` during theme compatibility and back to `true` after
the loop.
However, if we're on a regular WordPress page, only the `is_page` property
returns `true`. Therefore, this commit removes the `is_single` overrides,
which fixes issues with the comments template rendering in some themes
like Atahualpa.
Fixes #6153.
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6153#comment:5>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list