[buddypress-trac] [BuddyPress Trac] #8962: The latest Activities block generates a fatal in BP Default
buddypress-trac
noreply at wordpress.org
Mon Jul 31 09:47:57 UTC 2023
#8962: The latest Activities block generates a fatal in BP Default
--------------------------+---------------------
Reporter: imath | Owner: imath
Type: defect (bug) | Status: closed
Priority: high | Milestone: 11.3.0
Component: Activity | Version:
Severity: major | Resolution: fixed
Keywords: has-patch |
--------------------------+---------------------
Changes (by imath):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"13538" 13538]:
{{{
#!CommitTicketReference repository="" revision="13538"
BP Blocks: make sure theme compat is active before using a TP function
When a BuddyPress standalone theme is active (eg: BP Default) the
`bp_get_theme_compat_id()` returns the ID of the active template pack (TP)
(eg: "nouveau"), but it doesn't mean the corresponding template pack code
is loaded, to be sure of it we need to use `bp_is_theme_compat_active()`.
Fixes #8962 (branch 11.0)
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8962#comment:4>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list