[buddypress-trac] [BuddyPress Trac] #5301: Theme compat: Reset post arguments should not set 'is_archive' to true
buddypress-trac
noreply at wordpress.org
Tue Jan 14 09:06:55 UTC 2014
#5301: Theme compat: Reset post arguments should not set 'is_archive' to true
--------------------------+---------------------
Reporter: michaello13 | Owner: r-a-y
Type: defect (bug) | Status: closed
Priority: highest | Milestone: 1.9.2
Component: Core | Version: 1.7
Severity: normal | Resolution: fixed
Keywords: commit |
--------------------------+---------------------
Changes (by r-a-y):
* owner: => r-a-y
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"7735"]:
{{{
#!CommitTicketReference repository="" revision="7735"
Theme compat: When resetting post, set 'is_page' to true.
Previously, when resetting the post, 'is_archive' was set to true.
As a consequence, certain themes with some form of conditional
template logic (like Atahualpa and Attitude) were loading their
archive template because of the 'is_archive' flag. This caused
formatting display issues because the archive template historically
uses the_excerpt() causing all formatting to be stripped out.
This commit changes all reset post calls so the 'is_page' parameter is
set to true. This should correctly use the regular page template for
theme compatibility for themes with conditional template logic.
Fixes #5301. (1.9-branch)
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5301#comment:17>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list