Changeset 12662
- Timestamp:
- 06/06/2020 09:40:32 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/6.0/src/bp-core/classes/class-bp-block.php
r12578 r12662 187 187 * @param string $name The block's name. 188 188 */ 189 $ domain = apply_filters( 'bp_block_translation_dir', 'buddypress', $this->block->editor_script, $name );189 $translation_domain = apply_filters( 'bp_block_translation_domain', 'buddypress', $this->block->editor_script, $name ); 190 190 191 191 // Try to load the translation. 192 $translated = wp_set_script_translations( $this->block->editor_script, $ domain, $translation_dir );192 $translated = wp_set_script_translations( $this->block->editor_script, $translation_domain, $translation_dir ); 193 193 } 194 194 }
Note: See TracChangeset
for help on using the changeset viewer.