Skip to content

Commit 6f6c434

Browse files
committed
Merge branch 'trunk' of https://github.com/Yoast/wordpress-seo into 23301-make-the-token_manager-consent-agnostic
# Conflicts: # src/ai/content-planner/application/content-outline-command-handler.php # src/ai/content-planner/application/content-suggestion-command-handler.php
2 parents 41aacf9 + 4a00dc6 commit 6f6c434

297 files changed

Lines changed: 8926 additions & 2719 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/build-zip.yml

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,22 @@ jobs:
99
build:
1010
name: "Build plugin zip"
1111
runs-on: ubuntu-latest
12+
# Don't run on forks.
1213
if: >
13-
github.event_name == 'workflow_dispatch' ||
14+
github.repository_owner == 'Yoast' &&
1415
(
15-
github.event_name == 'issue_comment' &&
16-
github.event.issue.pull_request &&
17-
startsWith(github.event.comment.body, '/build-zip')
16+
github.event_name == 'workflow_dispatch' ||
17+
(
18+
github.event_name == 'issue_comment' &&
19+
github.event.issue.pull_request &&
20+
startsWith(github.event.comment.body, '/build-zip')
21+
)
1822
)
1923
2024
steps:
2125
- name: Check actions access
2226
if: github.event_name == 'issue_comment'
23-
uses: actions/github-script@v9
27+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
2428
with:
2529
script: |
2630
const { data } = await github.rest.repos.getCollaboratorPermissionLevel({
@@ -34,7 +38,7 @@ jobs:
3438
3539
- name: Add reaction to command
3640
if: github.event_name == 'issue_comment'
37-
uses: actions/github-script@v9
41+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
3842
with:
3943
script: |
4044
await github.rest.reactions.createForIssueComment({
@@ -47,7 +51,7 @@ jobs:
4751
- name: Get PR head ref
4852
if: github.event_name == 'issue_comment'
4953
id: pr
50-
uses: actions/github-script@v9
54+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
5155
with:
5256
script: |
5357
const { data: pr } = await github.rest.pulls.get({
@@ -58,18 +62,19 @@ jobs:
5862
core.setOutput('ref', pr.head.ref);
5963
6064
- name: Checkout code
61-
uses: actions/checkout@v6
65+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6266
with:
6367
ref: ${{ steps.pr.outputs.ref || '' }}
68+
persist-credentials: false
6469

6570
- name: Install PHP
66-
uses: shivammathur/setup-php@v2
71+
uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # 2.37.0
6772
with:
6873
php-version: 7.4
6974
coverage: none
7075

7176
- name: Set up Node
72-
uses: actions/setup-node@v6
77+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
7378
with:
7479
node-version-file: './.nvmrc'
7580

@@ -87,15 +92,15 @@ jobs:
8792
run: mv artifact wordpress-seo
8893

8994
- name: Upload zip
90-
uses: actions/upload-artifact@v7
95+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
9196
with:
9297
name: wordpress-seo-${{ steps.timestamp.outputs.value }}
9398
path: wordpress-seo/
9499
retention-days: 1
95100

96101
- name: Post artifact link
97102
if: github.event_name == 'issue_comment'
98-
uses: actions/github-script@v9
103+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
99104
with:
100105
script: |
101106
await github.rest.issues.createComment({

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ jobs:
3232

3333
# Initializes the CodeQL tools for scanning.
3434
- name: Initialize CodeQL
35-
uses: github/codeql-action/init@e46ed2cbd01164d986452f91f178727624ae40d7 # v4.35.3
35+
uses: github/codeql-action/init@9e0d7b8d25671d64c341c19c0152d693099fb5ba # v4.35.5
3636
with:
3737
languages: ${{ matrix.language }}
3838

3939
- name: Perform CodeQL Analysis
40-
uses: github/codeql-action/analyze@e46ed2cbd01164d986452f91f178727624ae40d7 # v4.35.3
40+
uses: github/codeql-action/analyze@9e0d7b8d25671d64c341c19c0152d693099fb5ba # v4.35.5

admin/class-gutenberg-compatibility.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ class WPSEO_Gutenberg_Compatibility {
1515
*
1616
* @var string
1717
*/
18-
public const CURRENT_RELEASE = '23.1.1';
18+
public const CURRENT_RELEASE = '23.2.2';
1919

2020
/**
2121
* The minimally supported version of Gutenberg by the plugin.
2222
*
2323
* @var string
2424
*/
25-
public const MINIMUM_SUPPORTED = '23.1.1';
25+
public const MINIMUM_SUPPORTED = '23.2.2';
2626

2727
/**
2828
* Holds the current version.

admin/tracking/class-tracking-server-data.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,11 @@ protected function get_server_data() {
3636
$server_data['Hostname'] = gethostbyaddr( $ipaddress );
3737
}
3838

39-
$server_data['os'] = function_exists( 'php_uname' ) ? php_uname() : PHP_OS;
40-
$server_data['PhpVersion'] = PHP_VERSION;
41-
$server_data['CurlVersion'] = $this->get_curl_info();
42-
$server_data['PhpExtensions'] = $this->get_php_extensions();
39+
$server_data['os'] = function_exists( 'php_uname' ) ? php_uname() : PHP_OS;
40+
$server_data['PhpVersion'] = PHP_VERSION;
41+
$server_data['CurlVersion'] = $this->get_curl_info();
42+
$server_data['PhpExtensions'] = $this->get_php_extensions();
43+
$server_data['ServerSoftware'] = isset( $_SERVER['SERVER_SOFTWARE'] ) ? sanitize_text_field( wp_unslash( $_SERVER['SERVER_SOFTWARE'] ) ) : '';
4344

4445
return $server_data;
4546
}

apps/components/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"style-loader": "^0.23.1",
4848
"webpack": "4.19.1",
4949
"webpack-cli": "^2.1.3",
50-
"webpack-dev-server": "5.2.1",
50+
"webpack-dev-server": "5.2.4",
5151
"yoast-components": "^5.24.0"
5252
},
5353
"peerDependencies": {

apps/content-analysis/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"terser-webpack-plugin": "2.2.1",
6363
"url-loader": "3.0.0",
6464
"webpack": "^4.47.0",
65-
"webpack-dev-server": "^3.11.3",
65+
"webpack-dev-server": "^5.2.4",
6666
"webpack-manifest-plugin": "2.2.0",
6767
"workbox-webpack-plugin": "4.3.1",
6868
"worker-loader": "^2.0.0",

0 commit comments

Comments
 (0)