From 87385214b9128781a0bdd36b0a5838432b0747b7 Mon Sep 17 00:00:00 2001 From: p-jackson Date: Wed, 11 Sep 2024 04:29:56 +0000 Subject: [PATCH] Launchpad: "first_post_published" task links to first post if you have one (#39259) * Check if draft post exist and return * changelog * first_post_published copy depends on existence of existing draft The logic for looking up existing draft posts is shifted to wpcom_launchpad_get_latest_draft_id(). This allows the get_title() function to also use it to determine which button label to present to the user. --------- Co-authored-by: Philip Jackson Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/10804877103 Upstream-Ref: Automattic/jetpack@1ea604130654cc6ae324d4855b305d77b513edb4 --- composer.lock | 58 +++++++++---------- .../automattic/jetpack-mu-wpcom/CHANGELOG.md | 1 + .../launchpad/launchpad-task-definitions.php | 54 ++++++++++++++++- vendor/composer/installed.json | 56 +++++++++--------- vendor/composer/installed.php | 56 +++++++++--------- 5 files changed, 138 insertions(+), 87 deletions(-) diff --git a/composer.lock b/composer.lock index baa9dd98..a847c117 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "450cdf1ffa7dcb3bba5269a21aaa76bf", + "content-hash": "5307248fb1e642d662ab2fcdc57a8501", "packages": [ { "name": "automattic/jetpack-a8c-mc-stats", @@ -12,7 +12,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-a8c-mc-stats", - "reference": "5e6344149be46a1b4ad6dfca08cf2c4c2f873ce8" + "reference": "59b2f4d26f005a560b1765134fe48f65cefab399" }, "require": { "php": ">=7.0" @@ -62,7 +62,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-admin-ui", - "reference": "c05113cd53d357c87c81d7ed53313ccc83606eb2" + "reference": "d6771ca5644f60e7f6e4479ec4a4e5fc22b3014a" }, "require": { "php": ">=7.0" @@ -124,7 +124,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-assets", - "reference": "31531d23d36ef5194dd24608a84952e5710907ce" + "reference": "fd5203328e1415ff1c0be41d0da13288fc523a0b" }, "require": { "automattic/jetpack-constants": "^2.0.4", @@ -190,7 +190,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-blaze", - "reference": "01a7c7a94207a3401a2958278dbd8468f8922425" + "reference": "d4a3b94f2364e6a25e2784bded66731159be4e29" }, "require": { "automattic/jetpack-assets": "^2.3.8", @@ -268,7 +268,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-blocks", - "reference": "cb4b77c669d978b5ef4b0c5dc6070d5012803c51" + "reference": "f6cd47ea9efaacfabf1a2237c383aade81201091" }, "require": { "automattic/jetpack-constants": "^2.0.4", @@ -327,7 +327,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-calypsoify", - "reference": "a922860bab2f7b0cb8d51315e57b025d4aa1f777" + "reference": "3003499f2fe79bf2c3d875270c0a5301e7e4f2f2" }, "require": { "automattic/jetpack-assets": "^2.3.8", @@ -389,7 +389,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-classic-theme-helper", - "reference": "7bce0fa938fa1ee4b9977a65c3df550b91daeb56" + "reference": "9033561d7e14071974e40f8c1a273b4e4e507560" }, "require": { "automattic/jetpack-assets": "^2.3.8", @@ -457,7 +457,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-compat", - "reference": "fd219c5db76446afc9f3f70c2197ee51e255b242" + "reference": "b45dad65cb032c8dca98d9111baebc4ac8082a75" }, "require": { "php": ">=7.0" @@ -494,7 +494,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-connection", - "reference": "503f7b96b7ef7ca77eead8bd4d25aeab6646dd74" + "reference": "d18c83bf0684324f552f007232f1577025c1a555" }, "require": { "automattic/jetpack-a8c-mc-stats": "^2.0.2", @@ -581,7 +581,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-constants", - "reference": "edc66a8d087b4447f939f33072eec049b08a6019" + "reference": "f97c428bc53407857d96968453b6515c552a1a7d" }, "require": { "php": ">=7.0" @@ -632,7 +632,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-device-detection", - "reference": "e2ed0450505099d4ff388652e28e48fa21685134" + "reference": "801290082f3e3979854890be3ab35f54e43587a4" }, "require": { "php": ">=7.0" @@ -682,7 +682,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-google-analytics", - "reference": "cba494ea62032785e4205bf8f1e1605900cedf4f" + "reference": "296da76171150964de4c936807bba584fb0e303b" }, "require": { "automattic/jetpack-status": "^4.0.1", @@ -750,7 +750,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-ip", - "reference": "1643ff0808ad98dfc2b58ad666259b86ff1a7fe8" + "reference": "d25cb4bb09efd2b8b51317f470451aa9f35f4117" }, "require": { "php": ">=7.0" @@ -805,7 +805,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-jitm", - "reference": "3cabe065783e1f5486ae8a1aa3f278c26c54c83a" + "reference": "d9ba69b6cf3c4bff55c6b3a03d9794b34d6c5254" }, "require": { "automattic/jetpack-a8c-mc-stats": "^2.0.2", @@ -877,7 +877,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-logo", - "reference": "1cd5634fcea03d7aa18015a88bd0522cdb0e0f05" + "reference": "617ef00a575865b7605f36a760ea51c7067bee75" }, "require": { "php": ">=7.0" @@ -927,7 +927,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-masterbar", - "reference": "b87bb4219f98c4fd1ea37ab092ceff9daee4882f" + "reference": "e86b6ae612110a96526138788ca6a4e36048daf7" }, "require": { "automattic/jetpack-assets": "^2.3.8", @@ -1002,11 +1002,11 @@ }, { "name": "automattic/jetpack-mu-wpcom", - "version": "5.62.1-alpha.1726023144", + "version": "5.62.1-alpha.1726028062", "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-mu-wpcom", - "reference": "02467d0106724148edf8adc19747dc07e9a531ab" + "reference": "4b4d37b802f117cb18926595dcc9451602389ebb" }, "require": { "automattic/jetpack-assets": "^2.3.8", @@ -1086,7 +1086,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-password-checker", - "reference": "306c45bfac62dae1b6d59c3d1dd44169b471450b" + "reference": "4fffdcf38a661d237e6424169eb9a2cd0b9a1bd4" }, "require": { "php": ">=7.0" @@ -1144,7 +1144,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-plans", - "reference": "4850ed7cad3dbb76182d1be94968ed7bee7587db" + "reference": "755235ab1c36add35a326fe148ee10d620675425" }, "require": { "automattic/jetpack-connection": "^4.0.2", @@ -1209,7 +1209,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-redirect", - "reference": "0cad289278f1506be372fe80e274fabc48eec8ab" + "reference": "288293f22b10a99df468e261b6551b5ec3ec52a7" }, "require": { "automattic/jetpack-status": "^4.0.1", @@ -1261,7 +1261,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-roles", - "reference": "806edbea16a6f08161c42135ab76a50cba59b529" + "reference": "dd3f3e08d8eb6a7aa54edee4b2e0bd63050716cc" }, "require": { "php": ">=7.0" @@ -1312,7 +1312,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-stats", - "reference": "cab517605cebc63af03c670c942ccd9796dc5899" + "reference": "cdb5fc4e4bdc65cf8ad419f6fb243f1dedacbbf5" }, "require": { "automattic/jetpack-connection": "^4.0.2", @@ -1376,7 +1376,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-stats-admin", - "reference": "53655429ee5cc170f7ae7e483c04a05dd5784a07" + "reference": "f19c49d776ab8ba62f300330fd5d948f147c106f" }, "require": { "automattic/jetpack-connection": "^4.0.2", @@ -1446,7 +1446,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-status", - "reference": "6ac5b14fa2279f84629ad1b7cbe915416c2cb779" + "reference": "f66507c3796361831f576aee8ea3c1ff45856e67" }, "require": { "automattic/jetpack-constants": "^2.0.4", @@ -1507,7 +1507,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-sync", - "reference": "b57248cf295328ff7a4c52d0e24df03fcc34fc09" + "reference": "b970d62cbe9b3c95eaa34e7566b3cc9c9a737591" }, "require": { "automattic/jetpack-connection": "^4.0.2", @@ -1582,7 +1582,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/scheduled-updates", - "reference": "3941992b46af115e2759440ea8e0e67281e821fb" + "reference": "34c50982b5256e74ea28023ac62d9169b7158617" }, "require": { "automattic/jetpack-connection": "^4.0.2", @@ -1731,7 +1731,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-changelogger", - "reference": "2c4fbf8c32f209683c4c8ab98809b49d50041a03" + "reference": "2e030a305b91fa48fde69220c11aa9b5042da725" }, "require": { "php": ">=7.0", diff --git a/vendor/automattic/jetpack-mu-wpcom/CHANGELOG.md b/vendor/automattic/jetpack-mu-wpcom/CHANGELOG.md index 61ce3399..319f18c2 100644 --- a/vendor/automattic/jetpack-mu-wpcom/CHANGELOG.md +++ b/vendor/automattic/jetpack-mu-wpcom/CHANGELOG.md @@ -11,6 +11,7 @@ This is an alpha version! The changes listed here are not final. ### Fixed - Admin bar: fix paddings around wpcom and reader logos +- Launchpad first_post_published task reuses existing draft if there is one ## [5.62.0] - 2024-09-10 ### Changed diff --git a/vendor/automattic/jetpack-mu-wpcom/src/features/launchpad/launchpad-task-definitions.php b/vendor/automattic/jetpack-mu-wpcom/src/features/launchpad/launchpad-task-definitions.php index eae27e22..5f2203aa 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/features/launchpad/launchpad-task-definitions.php +++ b/vendor/automattic/jetpack-mu-wpcom/src/features/launchpad/launchpad-task-definitions.php @@ -99,13 +99,28 @@ function wpcom_launchpad_get_task_definitions() { ), 'first_post_published' => array( 'get_title' => function () { - return __( 'Write your first post', 'jetpack-mu-wpcom' ); + $latest_draft_id = wpcom_launchpad_get_latest_draft_id(); + return $latest_draft_id === false + ? __( 'Write your first post', 'jetpack-mu-wpcom' ) + : __( 'Continue to write your first post', 'jetpack-mu-wpcom' ); }, 'add_listener_callback' => function () { add_action( 'publish_post', 'wpcom_launchpad_track_publish_first_post_task' ); }, 'get_calypso_path' => function ( $task, $default, $data ) { - $base_path = wpcom_launchpad_should_use_wp_admin_link() + $is_blog_onboarding_flow = in_array( get_option( 'site_intent' ), array( 'start-writing', 'design-first' ), true ); + $use_wp_admin_link = wpcom_launchpad_should_use_wp_admin_link() || $is_blog_onboarding_flow; + $latest_draft_id = wpcom_launchpad_get_latest_draft_id(); + + if ( is_int( $latest_draft_id ) ) { + // There is a draft post, redirect the user to the draft instead of making a fresh post. + if ( $use_wp_admin_link ) { + return admin_url( 'post.php?action=edit&post=' . rawurlencode( $latest_draft_id ) ); + } + return '/post/' . $data['site_slug_encoded'] . '/' . rawurlencode( $latest_draft_id ); + } + + $base_path = $use_wp_admin_link ? admin_url( 'post-new.php' ) : '/post/' . $data['site_slug_encoded']; @@ -2720,3 +2735,38 @@ function wpcom_launchpad_mark_theme_selected_complete( $new_theme, $old_theme ) wpcom_mark_launchpad_task_complete( 'site_theme_selected' ); } add_action( 'jetpack_sync_current_theme_support', 'wpcom_launchpad_mark_theme_selected_complete', 10, 2 ); + +/** + * Returns the latest draft post ID, otherwise false. + * Similar to wp_get_recent_posts, except we only need the ID. + * + * The response is cached for the lifetime of the current request. + * + * @return int | boolean + */ +function wpcom_launchpad_get_latest_draft_id() { + // The result is cached for the current request + static $cached_blog_id = null; + static $cached_draft_id = null; + + if ( $cached_blog_id === get_current_blog_id() && $cached_draft_id !== null ) { + return $cached_draft_id; + } + + // Query for the latest draft post + $args = array( + 'posts_per_page' => 1, + 'post_status' => 'draft', + 'post_type' => 'post', + 'orderby' => 'date', + 'order' => 'DESC', + 'fields' => 'ids', + ); + + $latest_draft_id = get_posts( $args ); + + $cached_blog_id = get_current_blog_id(); + $cached_draft_id = reset( $latest_draft_id ); + + return $cached_draft_id; +} diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index e339d2f2..53a90360 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -7,7 +7,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-a8c-mc-stats", - "reference": "5e6344149be46a1b4ad6dfca08cf2c4c2f873ce8" + "reference": "59b2f4d26f005a560b1765134fe48f65cefab399" }, "require": { "php": ">=7.0" @@ -60,7 +60,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-admin-ui", - "reference": "c05113cd53d357c87c81d7ed53313ccc83606eb2" + "reference": "d6771ca5644f60e7f6e4479ec4a4e5fc22b3014a" }, "require": { "php": ">=7.0" @@ -125,7 +125,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-assets", - "reference": "31531d23d36ef5194dd24608a84952e5710907ce" + "reference": "fd5203328e1415ff1c0be41d0da13288fc523a0b" }, "require": { "automattic/jetpack-constants": "^2.0.4", @@ -194,7 +194,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-blaze", - "reference": "01a7c7a94207a3401a2958278dbd8468f8922425" + "reference": "d4a3b94f2364e6a25e2784bded66731159be4e29" }, "require": { "automattic/jetpack-assets": "^2.3.8", @@ -275,7 +275,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-blocks", - "reference": "cb4b77c669d978b5ef4b0c5dc6070d5012803c51" + "reference": "f6cd47ea9efaacfabf1a2237c383aade81201091" }, "require": { "automattic/jetpack-constants": "^2.0.4", @@ -337,7 +337,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-calypsoify", - "reference": "a922860bab2f7b0cb8d51315e57b025d4aa1f777" + "reference": "3003499f2fe79bf2c3d875270c0a5301e7e4f2f2" }, "require": { "automattic/jetpack-assets": "^2.3.8", @@ -402,7 +402,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-classic-theme-helper", - "reference": "7bce0fa938fa1ee4b9977a65c3df550b91daeb56" + "reference": "9033561d7e14071974e40f8c1a273b4e4e507560" }, "require": { "automattic/jetpack-assets": "^2.3.8", @@ -473,7 +473,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-compat", - "reference": "fd219c5db76446afc9f3f70c2197ee51e255b242" + "reference": "b45dad65cb032c8dca98d9111baebc4ac8082a75" }, "require": { "php": ">=7.0" @@ -513,7 +513,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-connection", - "reference": "503f7b96b7ef7ca77eead8bd4d25aeab6646dd74" + "reference": "d18c83bf0684324f552f007232f1577025c1a555" }, "require": { "automattic/jetpack-a8c-mc-stats": "^2.0.2", @@ -603,7 +603,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-constants", - "reference": "edc66a8d087b4447f939f33072eec049b08a6019" + "reference": "f97c428bc53407857d96968453b6515c552a1a7d" }, "require": { "php": ">=7.0" @@ -657,7 +657,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-device-detection", - "reference": "e2ed0450505099d4ff388652e28e48fa21685134" + "reference": "801290082f3e3979854890be3ab35f54e43587a4" }, "require": { "php": ">=7.0" @@ -710,7 +710,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-google-analytics", - "reference": "cba494ea62032785e4205bf8f1e1605900cedf4f" + "reference": "296da76171150964de4c936807bba584fb0e303b" }, "require": { "automattic/jetpack-status": "^4.0.1", @@ -781,7 +781,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-ip", - "reference": "1643ff0808ad98dfc2b58ad666259b86ff1a7fe8" + "reference": "d25cb4bb09efd2b8b51317f470451aa9f35f4117" }, "require": { "php": ">=7.0" @@ -839,7 +839,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-jitm", - "reference": "3cabe065783e1f5486ae8a1aa3f278c26c54c83a" + "reference": "d9ba69b6cf3c4bff55c6b3a03d9794b34d6c5254" }, "require": { "automattic/jetpack-a8c-mc-stats": "^2.0.2", @@ -914,7 +914,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-logo", - "reference": "1cd5634fcea03d7aa18015a88bd0522cdb0e0f05" + "reference": "617ef00a575865b7605f36a760ea51c7067bee75" }, "require": { "php": ">=7.0" @@ -967,7 +967,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-masterbar", - "reference": "b87bb4219f98c4fd1ea37ab092ceff9daee4882f" + "reference": "e86b6ae612110a96526138788ca6a4e36048daf7" }, "require": { "automattic/jetpack-assets": "^2.3.8", @@ -1044,12 +1044,12 @@ }, { "name": "automattic/jetpack-mu-wpcom", - "version": "5.62.1-alpha.1726023144", - "version_normalized": "5.62.1.0-alpha1726023144", + "version": "5.62.1-alpha.1726028062", + "version_normalized": "5.62.1.0-alpha1726028062", "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-mu-wpcom", - "reference": "02467d0106724148edf8adc19747dc07e9a531ab" + "reference": "4b4d37b802f117cb18926595dcc9451602389ebb" }, "require": { "automattic/jetpack-assets": "^2.3.8", @@ -1132,7 +1132,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-password-checker", - "reference": "306c45bfac62dae1b6d59c3d1dd44169b471450b" + "reference": "4fffdcf38a661d237e6424169eb9a2cd0b9a1bd4" }, "require": { "php": ">=7.0" @@ -1193,7 +1193,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-plans", - "reference": "4850ed7cad3dbb76182d1be94968ed7bee7587db" + "reference": "755235ab1c36add35a326fe148ee10d620675425" }, "require": { "automattic/jetpack-connection": "^4.0.2", @@ -1261,7 +1261,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-redirect", - "reference": "0cad289278f1506be372fe80e274fabc48eec8ab" + "reference": "288293f22b10a99df468e261b6551b5ec3ec52a7" }, "require": { "automattic/jetpack-status": "^4.0.1", @@ -1316,7 +1316,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-roles", - "reference": "806edbea16a6f08161c42135ab76a50cba59b529" + "reference": "dd3f3e08d8eb6a7aa54edee4b2e0bd63050716cc" }, "require": { "php": ">=7.0" @@ -1370,7 +1370,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-stats", - "reference": "cab517605cebc63af03c670c942ccd9796dc5899" + "reference": "cdb5fc4e4bdc65cf8ad419f6fb243f1dedacbbf5" }, "require": { "automattic/jetpack-connection": "^4.0.2", @@ -1437,7 +1437,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-stats-admin", - "reference": "53655429ee5cc170f7ae7e483c04a05dd5784a07" + "reference": "f19c49d776ab8ba62f300330fd5d948f147c106f" }, "require": { "automattic/jetpack-connection": "^4.0.2", @@ -1510,7 +1510,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-status", - "reference": "6ac5b14fa2279f84629ad1b7cbe915416c2cb779" + "reference": "f66507c3796361831f576aee8ea3c1ff45856e67" }, "require": { "automattic/jetpack-constants": "^2.0.4", @@ -1574,7 +1574,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-sync", - "reference": "b57248cf295328ff7a4c52d0e24df03fcc34fc09" + "reference": "b970d62cbe9b3c95eaa34e7566b3cc9c9a737591" }, "require": { "automattic/jetpack-connection": "^4.0.2", @@ -1652,7 +1652,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/scheduled-updates", - "reference": "3941992b46af115e2759440ea8e0e67281e821fb" + "reference": "34c50982b5256e74ea28023ac62d9169b7158617" }, "require": { "automattic/jetpack-connection": "^4.0.2", diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php index d02ce7ad..6afacb86 100644 --- a/vendor/composer/installed.php +++ b/vendor/composer/installed.php @@ -13,7 +13,7 @@ 'automattic/jetpack-a8c-mc-stats' => array( 'pretty_version' => '2.0.2', 'version' => '2.0.2.0', - 'reference' => '5e6344149be46a1b4ad6dfca08cf2c4c2f873ce8', + 'reference' => '59b2f4d26f005a560b1765134fe48f65cefab399', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-a8c-mc-stats', 'aliases' => array(), @@ -22,7 +22,7 @@ 'automattic/jetpack-admin-ui' => array( 'pretty_version' => '0.4.5', 'version' => '0.4.5.0', - 'reference' => 'c05113cd53d357c87c81d7ed53313ccc83606eb2', + 'reference' => 'd6771ca5644f60e7f6e4479ec4a4e5fc22b3014a', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-admin-ui', 'aliases' => array(), @@ -31,7 +31,7 @@ 'automattic/jetpack-assets' => array( 'pretty_version' => '2.3.8', 'version' => '2.3.8.0', - 'reference' => '31531d23d36ef5194dd24608a84952e5710907ce', + 'reference' => 'fd5203328e1415ff1c0be41d0da13288fc523a0b', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-assets', 'aliases' => array(), @@ -40,7 +40,7 @@ 'automattic/jetpack-blaze' => array( 'pretty_version' => '0.22.10', 'version' => '0.22.10.0', - 'reference' => '01a7c7a94207a3401a2958278dbd8468f8922425', + 'reference' => 'd4a3b94f2364e6a25e2784bded66731159be4e29', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-blaze', 'aliases' => array(), @@ -49,7 +49,7 @@ 'automattic/jetpack-blocks' => array( 'pretty_version' => '2.0.6-alpha.1725989644', 'version' => '2.0.6.0-alpha1725989644', - 'reference' => 'cb4b77c669d978b5ef4b0c5dc6070d5012803c51', + 'reference' => 'f6cd47ea9efaacfabf1a2237c383aade81201091', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-blocks', 'aliases' => array(), @@ -58,7 +58,7 @@ 'automattic/jetpack-calypsoify' => array( 'pretty_version' => '0.1.6', 'version' => '0.1.6.0', - 'reference' => 'a922860bab2f7b0cb8d51315e57b025d4aa1f777', + 'reference' => '3003499f2fe79bf2c3d875270c0a5301e7e4f2f2', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-calypsoify', 'aliases' => array(), @@ -67,7 +67,7 @@ 'automattic/jetpack-classic-theme-helper' => array( 'pretty_version' => '0.5.6', 'version' => '0.5.6.0', - 'reference' => '7bce0fa938fa1ee4b9977a65c3df550b91daeb56', + 'reference' => '9033561d7e14071974e40f8c1a273b4e4e507560', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-classic-theme-helper', 'aliases' => array(), @@ -76,7 +76,7 @@ 'automattic/jetpack-compat' => array( 'pretty_version' => '3.0.2', 'version' => '3.0.2.0', - 'reference' => 'fd219c5db76446afc9f3f70c2197ee51e255b242', + 'reference' => 'b45dad65cb032c8dca98d9111baebc4ac8082a75', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-compat', 'aliases' => array(), @@ -85,7 +85,7 @@ 'automattic/jetpack-connection' => array( 'pretty_version' => '4.0.2', 'version' => '4.0.2.0', - 'reference' => '503f7b96b7ef7ca77eead8bd4d25aeab6646dd74', + 'reference' => 'd18c83bf0684324f552f007232f1577025c1a555', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-connection', 'aliases' => array(), @@ -94,7 +94,7 @@ 'automattic/jetpack-constants' => array( 'pretty_version' => '2.0.4', 'version' => '2.0.4.0', - 'reference' => 'edc66a8d087b4447f939f33072eec049b08a6019', + 'reference' => 'f97c428bc53407857d96968453b6515c552a1a7d', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-constants', 'aliases' => array(), @@ -103,7 +103,7 @@ 'automattic/jetpack-device-detection' => array( 'pretty_version' => '2.1.4', 'version' => '2.1.4.0', - 'reference' => 'e2ed0450505099d4ff388652e28e48fa21685134', + 'reference' => '801290082f3e3979854890be3ab35f54e43587a4', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-device-detection', 'aliases' => array(), @@ -112,7 +112,7 @@ 'automattic/jetpack-google-analytics' => array( 'pretty_version' => '0.2.4', 'version' => '0.2.4.0', - 'reference' => 'cba494ea62032785e4205bf8f1e1605900cedf4f', + 'reference' => '296da76171150964de4c936807bba584fb0e303b', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-google-analytics', 'aliases' => array(), @@ -121,7 +121,7 @@ 'automattic/jetpack-ip' => array( 'pretty_version' => '0.2.3', 'version' => '0.2.3.0', - 'reference' => '1643ff0808ad98dfc2b58ad666259b86ff1a7fe8', + 'reference' => 'd25cb4bb09efd2b8b51317f470451aa9f35f4117', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-ip', 'aliases' => array(), @@ -130,7 +130,7 @@ 'automattic/jetpack-jitm' => array( 'pretty_version' => '3.1.22', 'version' => '3.1.22.0', - 'reference' => '3cabe065783e1f5486ae8a1aa3f278c26c54c83a', + 'reference' => 'd9ba69b6cf3c4bff55c6b3a03d9794b34d6c5254', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-jitm', 'aliases' => array(), @@ -139,7 +139,7 @@ 'automattic/jetpack-logo' => array( 'pretty_version' => '2.0.4', 'version' => '2.0.4.0', - 'reference' => '1cd5634fcea03d7aa18015a88bd0522cdb0e0f05', + 'reference' => '617ef00a575865b7605f36a760ea51c7067bee75', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-logo', 'aliases' => array(), @@ -148,16 +148,16 @@ 'automattic/jetpack-masterbar' => array( 'pretty_version' => '0.9.1', 'version' => '0.9.1.0', - 'reference' => 'b87bb4219f98c4fd1ea37ab092ceff9daee4882f', + 'reference' => 'e86b6ae612110a96526138788ca6a4e36048daf7', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-masterbar', 'aliases' => array(), 'dev_requirement' => false, ), 'automattic/jetpack-mu-wpcom' => array( - 'pretty_version' => '5.62.1-alpha.1726023144', - 'version' => '5.62.1.0-alpha1726023144', - 'reference' => '02467d0106724148edf8adc19747dc07e9a531ab', + 'pretty_version' => '5.62.1-alpha.1726028062', + 'version' => '5.62.1.0-alpha1726028062', + 'reference' => '4b4d37b802f117cb18926595dcc9451602389ebb', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-mu-wpcom', 'aliases' => array(), @@ -175,7 +175,7 @@ 'automattic/jetpack-password-checker' => array( 'pretty_version' => '0.3.2', 'version' => '0.3.2.0', - 'reference' => '306c45bfac62dae1b6d59c3d1dd44169b471450b', + 'reference' => '4fffdcf38a661d237e6424169eb9a2cd0b9a1bd4', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-password-checker', 'aliases' => array(), @@ -184,7 +184,7 @@ 'automattic/jetpack-plans' => array( 'pretty_version' => '0.4.10', 'version' => '0.4.10.0', - 'reference' => '4850ed7cad3dbb76182d1be94968ed7bee7587db', + 'reference' => '755235ab1c36add35a326fe148ee10d620675425', 'type' => 'library', 'install_path' => __DIR__ . '/../automattic/jetpack-plans', 'aliases' => array(), @@ -193,7 +193,7 @@ 'automattic/jetpack-redirect' => array( 'pretty_version' => '2.0.4', 'version' => '2.0.4.0', - 'reference' => '0cad289278f1506be372fe80e274fabc48eec8ab', + 'reference' => '288293f22b10a99df468e261b6551b5ec3ec52a7', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-redirect', 'aliases' => array(), @@ -202,7 +202,7 @@ 'automattic/jetpack-roles' => array( 'pretty_version' => '2.0.3', 'version' => '2.0.3.0', - 'reference' => '806edbea16a6f08161c42135ab76a50cba59b529', + 'reference' => 'dd3f3e08d8eb6a7aa54edee4b2e0bd63050716cc', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-roles', 'aliases' => array(), @@ -211,7 +211,7 @@ 'automattic/jetpack-stats' => array( 'pretty_version' => '0.13.2', 'version' => '0.13.2.0', - 'reference' => 'cab517605cebc63af03c670c942ccd9796dc5899', + 'reference' => 'cdb5fc4e4bdc65cf8ad419f6fb243f1dedacbbf5', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-stats', 'aliases' => array(), @@ -220,7 +220,7 @@ 'automattic/jetpack-stats-admin' => array( 'pretty_version' => '0.21.2', 'version' => '0.21.2.0', - 'reference' => '53655429ee5cc170f7ae7e483c04a05dd5784a07', + 'reference' => 'f19c49d776ab8ba62f300330fd5d948f147c106f', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-stats-admin', 'aliases' => array(), @@ -229,7 +229,7 @@ 'automattic/jetpack-status' => array( 'pretty_version' => '4.0.1', 'version' => '4.0.1.0', - 'reference' => '6ac5b14fa2279f84629ad1b7cbe915416c2cb779', + 'reference' => 'f66507c3796361831f576aee8ea3c1ff45856e67', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-status', 'aliases' => array(), @@ -238,7 +238,7 @@ 'automattic/jetpack-sync' => array( 'pretty_version' => '3.13.0-alpha.1726022383', 'version' => '3.13.0.0-alpha1726022383', - 'reference' => 'b57248cf295328ff7a4c52d0e24df03fcc34fc09', + 'reference' => 'b970d62cbe9b3c95eaa34e7566b3cc9c9a737591', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-sync', 'aliases' => array(), @@ -247,7 +247,7 @@ 'automattic/scheduled-updates' => array( 'pretty_version' => '0.13.3', 'version' => '0.13.3.0', - 'reference' => '3941992b46af115e2759440ea8e0e67281e821fb', + 'reference' => '34c50982b5256e74ea28023ac62d9169b7158617', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/scheduled-updates', 'aliases' => array(),