Skip to content

Commit 26ee9ad

Browse files
sergeymitrmatticbot
authored andcommitted
Jetpack: remove site registration nonce (step 1) (#42076)
Remove registration_nonce from site connection endpoint, and the JS API client that calls it. We already have WP nonce in there, so another nonce is excessive and hinders our progress on other projects. Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/13553192029 Upstream-Ref: Automattic/jetpack@da18258
1 parent b247392 commit 26ee9ad

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
"php": ">=7.2",
88
"automattic/jetpack-blocks": "^3.0.3",
99
"automattic/jetpack-assets": "^4.0.8",
10-
"automattic/jetpack-connection": "^6.6.0",
10+
"automattic/jetpack-connection": "^6.7.0-alpha",
1111
"automattic/jetpack-logo": "^3.0.1",
1212
"automattic/jetpack-status": "^5.0.5-alpha",
1313
"automattic/jetpack-sync": "^4.8.2"
1414
},
1515
"require-dev": {
1616
"yoast/phpunit-polyfills": "^1.1.1",
1717
"automattic/jetpack-changelogger": "^6.0.0",
18-
"automattic/jetpack-connection": "^6.6.0",
18+
"automattic/jetpack-connection": "^6.7.0-alpha",
1919
"automattic/jetpack-test-environment": "@dev"
2020
},
2121
"suggest": {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array('jetpack-connection', 'jetpack-script-data', 'lodash', 'react', 'react-dom', 'react-jsx-runtime', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => 'aa27d284b59e4a321e28');
1+
<?php return array('dependencies' => array('jetpack-connection', 'jetpack-script-data', 'lodash', 'react', 'react-dom', 'react-jsx-runtime', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '25ea4109962243be0f77');

dist/dashboard/jetpack-forms-dashboard.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)