Skip to content

Commit 04bb9ee

Browse files
enejbmatticbot
authored andcommitted
Connection: register WP Abilities API reads (#48735)
* Connection abilities: register connection status reads via Registrar * Connection abilities: single get-connection-status, jetpack-plugin-scoped loading * Use enhancement changelog type for Jetpack plugin (changelogger validity) * Regenerate plugin composer.lock files for connection package require-dev change * Connection abilities: use jetpack category, drop plan_class, surface connection package version Move the connection ability under the top-level `jetpack` category (`jetpack/get-connection-status`) so future Jetpack abilities share one namespace. Drop `plan_class` from the output — plan info isn't a connection concern. Replace `jetpack_version` with `connection_version` sourced from `Package_Version::PACKAGE_VERSION`, which is what actually ships this ability. * Connection abilities: gate get-connection-status on jetpack_admin_page cap * Connection abilities: rename site_connected output field to site_registered * Connection abilities: prefer WP 7.0 Connectors screen for registration URL * Abilities: align shared jetpack category description across registrars * Connection abilities: fix Connectors registration URL and detection --------- Co-authored-by: Enej Bajgoric <enej.bajgoric@a8c.com> Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/26247343903 Upstream-Ref: Automattic/jetpack@167b080
1 parent 428432b commit 04bb9ee

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"automattic/jetpack-blocks": "^3.3.3-alpha",
99
"automattic/jetpack-assets": "^4.3.38",
1010
"automattic/jetpack-wp-build-polyfills": "^0.1.10-alpha",
11-
"automattic/jetpack-connection": "^8.3.7",
11+
"automattic/jetpack-connection": "^8.4.0-alpha",
1212
"automattic/jetpack-device-detection": "^3.4.2",
1313
"automattic/jetpack-external-connections": "^0.1.29-alpha",
1414
"automattic/jetpack-jwt": "^0.2.4",
@@ -21,7 +21,7 @@
2121
},
2222
"require-dev": {
2323
"yoast/phpunit-polyfills": "^4.0.0",
24-
"automattic/jetpack-connection": "^8.3.7",
24+
"automattic/jetpack-connection": "^8.4.0-alpha",
2525
"automattic/jetpack-test-environment": "@dev",
2626
"automattic/phpunit-select-config": "^1.0.6",
2727
"automattic/wp-feature-api": "@dev"

0 commit comments

Comments
 (0)