Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/10/2023 06:22:42 AM (3 years ago)
Author:
imath
Message:

Core, Activity: remove more never used inited variables in functions

Props upadalavipul, kajalgohel, viralsampat

Fixes #8892
Closes https://github.com/buddypress/buddypress/pull/115

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/classes/class-bp-block.php

    r13321 r13500  
    196196            if ( ! isset( $this->registered_scripts['editor_script'] ) || ! $this->registered_scripts['editor_script'] ) {
    197197                $this->block = new WP_Error( 'script_registration_error', __( 'The required `editor_script` could not be registered.', 'buddypress' ) );
     198
     199                // Register the styles.
    198200            } else {
    199                 // Register the styles.
    200                 $registered_styles = array();
    201201
    202202                foreach ( array( 'editor_style', 'style' ) as $style_handle_key ) {
Note: See TracChangeset for help on using the changeset viewer.