Skip to:
Content

BuddyPress.org

Changeset 13538


Ignore:
Timestamp:
07/31/2023 09:47:51 AM (2 years ago)
Author:
imath
Message:

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)

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.