update correlation in performance requests (#40359)
* update correlation * update correlation
This commit is contained in:
parent
ce7038d814
commit
3544ef300f
|
@ -0,0 +1,4 @@
|
|||
Significance: minor
|
||||
Type: update
|
||||
|
||||
Update correlation to allow previously removed Perf Requests to run again
|
|
@ -58,8 +58,8 @@ export function homeWCAdmin( includeTests = {} ) {
|
|||
// Correlate nonce values for use in subsequent requests.
|
||||
api_x_wp_nonce = findBetween(
|
||||
response.body,
|
||||
'wp-json\\/","nonce":"',
|
||||
'",'
|
||||
'wp.apiFetch.createNonceMiddleware( "',
|
||||
'"'
|
||||
);
|
||||
|
||||
// Create request header with nonce value for use in subsequent requests.
|
||||
|
|
Loading…
Reference in New Issue