[buddypress-trac] [BuddyPress Trac] #7758: PHP notices on deactivation
buddypress-trac
noreply at wordpress.org
Wed Apr 18 10:50:26 UTC 2018
#7758: PHP notices on deactivation
--------------------------+--------------------
Reporter: Mamaduka | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0
Component: Templates | Version:
Severity: normal | Keywords:
--------------------------+--------------------
When deactivating plugin `bp_check_theme_template_pack_dependency()` is
causing PHP notices/warnings.
Cause: On deactivation BP bails early in `BuddyPress::setup_actions()` and
doesn't register theme packages.
I think the easiest way to fix this will be to add a check to
`bp_check_theme_template_pack_dependency()` function and bail early as
well.
P.S. Happy to provide a patch.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7758>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list