Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Social: Fix initial state undefined variable #38781

Merged
merged 2 commits into from
Aug 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: other

Fixed a warning with undefined variables
4 changes: 2 additions & 2 deletions projects/plugins/jetpack/class.jetpack-gutenberg.php
Original file line number Diff line number Diff line change
Expand Up @@ -771,9 +771,9 @@ public static function enqueue_block_editor_assets() {

$initial_state['social']['connectionRefreshPath'] = $social_initial_state['connectionRefreshPath'];
}
}

$initial_state['social']['featureFlags'] = $social_initial_state['featureFlags'];
$initial_state['social']['featureFlags'] = $social_initial_state['featureFlags'];
}

wp_localize_script(
'jetpack-blocks-editor',
Expand Down
Loading