Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/07/2023 11:36:50 AM (12 months ago)
Author:
imath
Message:

BP Rewrites merge process, final touches

This commit is closing the main ticket about migrating our Legacy URL parser to using the WP Rewrite API. Please open next possible issues in new tickets.

The final touches:

  • Make sure BP Activity Embeds are fully supported when using the BP Rewrites API.
  • Make sure BuddyPress directories are fetched into the Site Editor's Navigation block.
  • Deprecate bp_admin_display_directory_states() and move the BP Page directory states feature into the BP Classic backcompat plugin.
  • Remove the Page settings Admin help tab & move it into BP Classic
  • Introduce the bp_core_include_directory_on_front() in order to maintain the possibility to use a BP Directory page as the site's home page.

Props r-a-y, johnjamesjacoby, boonebgorges

Closes https://github.com/buddypress/buddypress/pull/95
Fixes #4954

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/admin/bp-core-admin-functions.php

    r13469 r13471  
    670670            break;
    671671
    672         // Pages page.
    673         case 'settings_page_bp-page-settings':
    674             // Help tabs.
    675             $screen->add_help_tab(
    676                 array(
    677                     'id'      => 'bp-page-overview',
    678                     'title'   => __( 'Overview', 'buddypress' ),
    679                     'content' => bp_core_add_contextual_help_content( 'bp-page-overview' ),
    680                 )
    681             );
    682 
    683             // Help panel - sidebar links.
    684             $screen->set_help_sidebar(
    685                 '<p><strong>' . __( 'For more information:', 'buddypress' ) . '</strong></p>' .
    686                 '<p>' . __( '<a href="https://codex.buddypress.org/getting-started/configure-components/#settings-buddypress-pages">Managing Pages</a>', 'buddypress' ) . '</p>' .
    687                 '<p>' . __( '<a href="https://buddypress.org/support/">Support Forums</a>', 'buddypress' ) . '</p>'
    688             );
    689 
    690             break;
    691 
    692672        // Settings page.
    693673        case 'settings_page_bp-settings':
     
    732712}
    733713add_action( 'load-settings_page_bp-components', 'bp_core_add_contextual_help' );
    734 add_action( 'load-settings_page_bp-page-settings', 'bp_core_add_contextual_help' );
    735714add_action( 'load-settings_page_bp-settings', 'bp_core_add_contextual_help' );
    736715add_action( 'load-users_page_bp-profile-setup', 'bp_core_add_contextual_help' );
     
    749728        case 'bp-comp-overview':
    750729            $retval = __( 'By default, all but four of the BuddyPress components are enabled. You can selectively enable or disable any of the components by using the form below. Your BuddyPress installation will continue to function. However, the features of the disabled components will no longer be accessible to anyone using the site.', 'buddypress' );
    751             break;
    752 
    753         case 'bp-page-overview':
    754             $retval = __( 'BuddyPress Components use WordPress Pages for their root directory/archive pages. You can change the page associations for each active component by using the form below.', 'buddypress' );
    755730            break;
    756731
     
    14931468 *
    14941469 * @since 8.0.0
     1470 * @since 12.0.0 This category is left for third party plugin but not used anymmore.
     1471 *
     1472 * @todo deprecate.
    14951473 */
    14961474function bp_block_init_category_filter() {
Note: See TracChangeset for help on using the changeset viewer.