Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/11/2018 06:46:30 PM (7 years ago)
Author:
boonebgorges
Message:

Move notification settings callbacks out of lazyloaded screen function files.

Loading these add_action() callbacks conditionally caused the
has_action() check in bp_settings_remove_email_subnav() to think
that no components had registered notification settings.

Props r-a-y.
Fixes #7822.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-groups/classes/class-bp-groups-component.php

    r11924 r12087  
    210210            // Theme compatibility.
    211211            new BP_Groups_Theme_Compat();
    212         }
    213 
    214         // Groups notifications HTML table.
    215         if ( bp_is_user_settings_notifications() ) {
    216             require $this->path . 'bp-groups/screens/user/settings-email.php';
    217212        }
    218213    }
Note: See TracChangeset for help on using the changeset viewer.