Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/08/2021 08:29:20 PM (3 years ago)
Author:
imath
Message:

Remove the BP Compat ServerSideRender component & use WordPress one

As BuddyPress required WordPress version is now 5.4, this compatibility component which was introduced to maintain backward compatibility with WP version from 5.0 to 5.2 is no more needed.

Props oztaser

Fixes #8571

File:
1 edited

Legend:

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

    r13140 r13144  
    3838 */
    3939function bp_register_block_components() {
    40     $server_side_renderer_dep = 'wp-server-side-render';
    41     if ( bp_is_running_wp( '5.3.0', '<' ) ) {
    42         $server_side_renderer_dep = 'wp-editor';
    43     }
    44 
    4540    wp_register_script(
    4641        'bp-block-components',
     
    5247            'wp-api-fetch',
    5348            'wp-url',
    54             $server_side_renderer_dep,
    5549        ),
    5650        bp_get_version(),
Note: See TracChangeset for help on using the changeset viewer.