Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/12/2021 11:57:59 PM (5 years ago)
Author:
imath
Message:

Edit existing Blocks to use the newly introduced Component and Assets

  • Stop filtering bp_blocks_editor_settings to transport Activity embed, Member/s and Group/s blocks.
  • Edit JavaScript files to use the new ServerSideRender BP Block Component and the BP Block Assets.
  • Use bright red icons for all BP Blocks.
  • Update JavaScript BP Blocks dependencies.

Fixes #8513

File:
1 edited

Legend:

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

    r12994 r12996  
    738738                                                'wp-components',
    739739                                                'wp-i18n',
    740                                                 'wp-editor',
    741                                                 'wp-compose',
    742                                                 'wp-data',
    743740                                                'wp-block-editor',
    744741                                                'bp-block-components',
     742                                                'bp-block-data',
    745743                                        ),
    746744                                        'style'              => 'bp-member-block',
     
    779777                                                'wp-components',
    780778                                                'wp-i18n',
    781                                                 'wp-compose',
    782                                                 'wp-data',
    783779                                                'wp-api-fetch',
    784780                                                'wp-url',
    785781                                                'wp-block-editor',
    786782                                                'bp-block-components',
     783                                                'bp-block-data',
    787784                                                'lodash',
    788785                                        ),
Note: See TracChangeset for help on using the changeset viewer.