[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:38:22 UTC 2023
#8962: The latest Activities block generates a fatal in BP Default
--------------------------+-----------------------
Reporter: imath | Owner: imath
Type: defect (bug) | Status: assigned
Priority: high | Milestone: 11.3.0
Component: Activity | Version:
Severity: major | Resolution:
Keywords: has-patch |
--------------------------+-----------------------
Comment (by imath):
In [changeset:"13537" 13537]:
{{{
#!CommitTicketReference repository="" revision="13537"
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()`.
See #8962 (trunk)
Closes https://github.com/buddypress/buddypress/pull/146
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8962#comment:3>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list