Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/11/2018 06:46:30 PM (19 months 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-messages/classes/class-bp-messages-component.php

    r11925 r12087  
    138138                }
    139139            }
    140         }
    141 
    142         // Groups notifications HTML table.
    143         if ( bp_is_user_settings_notifications() ) {
    144             require $this->path . 'bp-messages/screens/settings-email.php';
    145140        }
    146141    }
Note: See TracChangeset for help on using the changeset viewer.