Skip to:
Content

BuddyPress.org

Changes between Initial Version and Version 1 of Ticket #5301, comment 12


Ignore:
Timestamp:
01/13/2014 03:07:17 AM (11 years ago)
Author:
r-a-y
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5301, comment 12

    initial v1  
    77The themes that have some type of template loader logic are all checking against what type of post the current page is.
    88
    9 When BP runs its theme-compat code, BP resets the post so `'is_archive'` set to true.  For themes with template loader logic, they will load up their archive template and the archive template historically uses `the_excerpt()` causing all formatting to be stripped out.
     9When BP runs its theme-compat code, BP resets the post so `'is_archive'` is set to true.  For themes with template loader logic, they will load up their archive template and the archive template historically uses `the_excerpt()` causing all formatting to be stripped out.
    1010
    1111I've attached a simple patch against 1.9-branch that switches out all of our reset post code so `'is_page'` is set to true and removes the `'is_archive'` portion.