bp_core_admin_backpat_page()
Generates markup for a fallback top-level BuddyPress menu page, if the site is running a legacy plugin which hasn’t been updated. If the site is up to date, this page will never appear.
Description
See also
Source
File: bp-core/admin/bp-core-admin-functions.php
function bp_core_admin_backpat_page() { $url = bp_core_do_network_admin() ? network_admin_url( 'settings.php' ) : admin_url( 'options-general.php' ); $settings_url = add_query_arg( 'page', 'bp-components', $url ); ?> <div class="wrap"> <h2><?php _e( 'Why have all my BuddyPress menus disappeared?', 'buddyboss' ); ?></h2> <p><?php _e( "Don't worry! We've moved the BuddyPress options into more convenient and easier to find locations. You're seeing this page because you are running a legacy BuddyPress plugin which has not been updated.", 'buddyboss' ); ?></p> <p><?php printf( __( 'Components, Pages, Settings, and Forums, have been moved to <a href="%s">Settings > BuddyPress</a>. Profile Fields has been moved into the <a href="%s">Users</a> menu.', 'buddyboss' ), esc_url( $settings_url ), bp_get_admin_url( 'admin.php?page=bp-profile-setup' ) ); ?></p> </div> <?php }
Changelog
Version | Description |
---|---|
BuddyPress 1.6.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.