Skip to content

Commit 5552dc7

Browse files
committed
Minor variable rename
1 parent 1ee8e0e commit 5552dc7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

inc/Editor/BlockManagement/BlockRegistration.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,20 +32,20 @@ public static function add_block_category( array $block_categories ): array {
3232
}
3333

3434
public static function register_blocks(): void {
35-
$all_remote_data_config = [];
35+
$all_remote_block_configs = [];
3636
$scripts_to_localize = [];
3737

3838
foreach ( ConfigStore::get_block_configurations() as $block_configuration ) {
3939
$block_name = $block_configuration['name'];
4040

4141
[ $config, $script_handle ] = self::register_block_configuration( $block_configuration );
42-
$all_remote_data_config[ $block_name ] = $config;
42+
$all_remote_block_configs[ $block_name ] = $config;
4343
$scripts_to_localize[] = $script_handle;
4444
}
4545

4646
foreach ( array_unique( $scripts_to_localize ) as $script_handle ) {
4747
wp_localize_script( $script_handle, 'REMOTE_DATA_BLOCKS', [
48-
'config' => $all_remote_data_config,
48+
'config' => $all_remote_block_configs,
4949
'rest_url' => RemoteDataController::get_url(),
5050
'tracks_global_properties' => TracksAnalytics::get_global_properties(),
5151
] );

0 commit comments

Comments
 (0)