Skip to content

Commit

Permalink
Dotcom Patterns: Fix the start page options modal is still visible on…
Browse files Browse the repository at this point in the history
… editor (#34824)

* Fix the start page options modal is still visible

* changelog

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/7383216167
  • Loading branch information
miksansegundo authored and matticbot committed Jan 2, 2024
1 parent 9236759 commit 7d9f581
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 12 deletions.
8 changes: 4 additions & 4 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions vendor/automattic/jetpack-mu-wpcom/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ This is an alpha version! The changes listed here are not final.

### Added
- Add the Sensei setup completion logic
- Fix the start page options modal is still visible

## [5.6.0] - 2023-12-25
### Removed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,8 @@ private function update_pattern_block_types() {
if ( $post_content_offset !== false ) {
unregister_block_pattern( $pattern['name'] );

$pattern['blockTypes'] = array_splice( $pattern['blockTypes'], $post_content_offset, 1 );
$pattern_name = $pattern['name'];
array_splice( $pattern['blockTypes'], $post_content_offset, 1 );
$pattern_name = $pattern['name'];
unset( $pattern['name'] );
register_block_pattern( $pattern_name, $pattern );
}
Expand Down
6 changes: 3 additions & 3 deletions vendor/composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"packages": [
{
"name": "automattic/jetpack-mu-wpcom",
"version": "5.7.0-alpha.1703874005",
"version_normalized": "5.7.0.0-alpha1703874005",
"version": "5.7.0-alpha.1704180092",
"version_normalized": "5.7.0.0-alpha1704180092",
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-mu-wpcom",
"reference": "7bd150ca01fa4fd70b66830f299ece34a8ff592d"
"reference": "cd634beebd3455b3227b6ab5a44f7b7742954025"
},
"require": {
"php": ">=7.0"
Expand Down
6 changes: 3 additions & 3 deletions vendor/composer/installed.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
),
'versions' => array(
'automattic/jetpack-mu-wpcom' => array(
'pretty_version' => '5.7.0-alpha.1703874005',
'version' => '5.7.0.0-alpha1703874005',
'reference' => '7bd150ca01fa4fd70b66830f299ece34a8ff592d',
'pretty_version' => '5.7.0-alpha.1704180092',
'version' => '5.7.0.0-alpha1704180092',
'reference' => 'cd634beebd3455b3227b6ab5a44f7b7742954025',
'type' => 'jetpack-library',
'install_path' => __DIR__ . '/../automattic/jetpack-mu-wpcom',
'aliases' => array(),
Expand Down

0 comments on commit 7d9f581

Please sign in to comment.