Skip to:
Content

BuddyPress.org

Ticket #8892: 8892.8.patch

File 8892.8.patch, 1.1 KB (added by upadalavipul, 18 months ago)

few more files in found unused variable.

  • src/bp-core/classes/class-bp-block.php

     
    283283                                         */
    284284                                        $translation_domain = apply_filters( 'bp_block_translation_domain', $textdomain, $this->block->editor_script, $name );
    285285
    286                                         // Try to load the translation.
    287                                         $translated = wp_set_script_translations( $this->block->editor_script, $translation_domain, $translation_dir );
    288286                                }
    289287                        }
    290288                }
  • src/bp-core/classes/class-bp-core-bp-options-nav-backcompat.php

     
    120120
    121121                if ( ! $nav ) {
    122122                        $component_nav = $this->get_component_nav( $offset );
    123                         $secondary_nav = $component_nav->get_secondary( array( 'slug' => $offset ), false );
    124123
    125124                        $nav = array();
    126125