Skip to content

Commit

Permalink
Merge pull request #4972 from Automattic/develop
Browse files Browse the repository at this point in the history
Staging release: v20231024.1
  • Loading branch information
WPprodigy authored Oct 24, 2023
2 parents 2f5f738 + 15a311a commit e5fe601
Show file tree
Hide file tree
Showing 26 changed files with 134 additions and 133 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/changelog-summary-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
egress-policy: audit

- name: Check out source code
uses: actions/checkout@v4.1.0
uses: actions/checkout@v4.1.1

- name: Retrieve tags
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4.1.0
uses: actions/checkout@v4.1.1

- name: Setup PHP
uses: shivammathur/setup-php@2.26.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/changelog-summary-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4.1.0
uses: actions/checkout@v4.1.1

- name: Setup PHP
uses: shivammathur/setup-php@2.26.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
MYSQL_DATABASE: wordpress_test
steps:
- name: Check out source code
uses: actions/checkout@v4.1.0
uses: actions/checkout@v4.1.1
with:
submodules: recursive

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- javascript
steps:
- name: Checkout repository
uses: actions/checkout@v4.1.0
uses: actions/checkout@v4.1.1

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/core-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@ jobs:
echo "PHP_FPM_GID=$(id -g)" >> "${GITHUB_ENV}"
- name: Checkout WordPress
uses: actions/checkout@v4.1.0 # v4.0.0
uses: actions/checkout@v4.1.1 # v4.0.0
with:
repository: wordpress/wordpress-develop
path: wordpress
ref: ${{ steps.version.outputs.latest }}

- name: Check out source code
uses: actions/checkout@v4.1.0 # v4.0.0
uses: actions/checkout@v4.1.1 # v4.0.0
with:
submodules: recursive
path: wordpress/src/wp-content/mu-plugins
Expand All @@ -60,7 +60,7 @@ jobs:
echo "GITHUB_EVENT_NAME=pull_request" >> "wordpress/.env"
- name: Set up Node.js
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
with:
node-version-file: 'wordpress/.nvmrc'
cache: npm
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
MYSQL_DATABASE: wordpress_test
steps:
- name: Check out source code
uses: actions/checkout@v4.1.0
uses: actions/checkout@v4.1.1
with:
submodules: recursive

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
github.com:443
- name: Check out the source code
uses: actions/checkout@v4.1.0
uses: actions/checkout@v4.1.1

- name: Review dependencies
uses: actions/dependency-review-action@v3
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,19 @@ jobs:
contents: write
steps:
- name: Check out the source code
uses: actions/checkout@v4.1.0
uses: actions/checkout@v4.1.1
with:
submodules: recursive
path: ${{ env.SOURCE_REPO_PATH }}

- name: Check out Automattic/vip-go-mu-plugins-ext
uses: actions/checkout@v4.1.0
uses: actions/checkout@v4.1.1
with:
repository: Automattic/vip-go-mu-plugins-ext
path: ${{ env.EXT_REPO_PATH }}

- name: Check out Automattic/vip-go-mu-plugins-built
uses: actions/checkout@v4.1.0
uses: actions/checkout@v4.1.1
with:
repository: Automattic/vip-go-mu-plugins-built
path: ${{ env.TARGET_REPO_PATH }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,15 @@ jobs:
wordpress.org:443

- name: Check out repository code
uses: actions/checkout@v4.1.0
uses: actions/checkout@v4.1.1
with:
submodules: true

- name: Prepare source code
uses: ./.github/actions/prepare-source

- name: Setup Node
uses: actions/setup-node@v3.8.1
uses: actions/setup-node@v4.0.0
with:
node-version: 'lts/*'
cache: npm
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out source code
uses: actions/checkout@v4.1.0
uses: actions/checkout@v4.1.1

- name: Set up PHP
uses: shivammathur/setup-php@2.26.0
Expand All @@ -36,7 +36,7 @@ jobs:
fail-fast: 'true'

- name: Setup Node
uses: actions/setup-node@v3.8.1
uses: actions/setup-node@v4.0.0
with:
node-version: 'lts/*'
cache: npm
Expand All @@ -52,10 +52,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out source code
uses: actions/checkout@v4.1.0
uses: actions/checkout@v4.1.1

- name: Setup Node
uses: actions/setup-node@v3.8.1
uses: actions/setup-node@v4.0.0
with:
node-version: 'lts/*'
cache: npm
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/parsely.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
MYSQL_DATABASE: wordpress_test
steps:
- name: Check out source code
uses: actions/checkout@v4.1.0
uses: actions/checkout@v4.1.1
with:
submodules: recursive

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/search-dev-tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ jobs:
contents: write
steps:
- name: Check out source code
uses: actions/checkout@v4.1.0
uses: actions/checkout@v4.1.1
with:
token: ${{ secrets.WPCOM_VIP_BOT_TOKEN }}

- name: Setup Node
uses: actions/setup-node@v3.8.1
uses: actions/setup-node@v4.0.0
with:
node-version: 'lts/*'
cache: npm
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/search-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4.1.0
uses: actions/checkout@v4.1.1
with:
submodules: recursive

- name: Prepare source code
uses: ./.github/actions/prepare-source

- name: "Install node v${{ env.NODE_VERSION }}"
uses: actions/setup-node@v3.8.1
uses: actions/setup-node@v4.0.0
with:
node-version: ${{ env.NODE_VERSION }}
cache: npm
Expand Down
45 changes: 26 additions & 19 deletions __tests__/e2e/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion __tests__/e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@playwright/test": "^1.39.0",
"asana-phrase": "^0.0.8",
"eslint": "^8.51.0",
"eslint-plugin-playwright": "^0.17.0",
"eslint-plugin-playwright": "^0.18.0",
"playwright": "^1.39.0",
"typescript": "^5.2.2"
}
Expand Down
6 changes: 0 additions & 6 deletions files/class-curl-streamer.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,13 @@ public function __construct( $file_path ) {
}

public function init() {
add_filter( 'http_api_transports', [ $this, 'enforce_curl_transport' ] );
add_action( 'http_api_curl', [ $this, 'init_upload' ], 10 );
}

public function deinit() {
remove_filter( 'http_api_transports', [ $this, 'enforce_curl_transport' ] );
remove_action( 'http_api_curl', [ $this, 'init_upload' ] );
}

public function enforce_curl_transport() {
return [ 'curl' ];
}

public function init_upload( $curl_handle ) {
// phpcs:ignore WordPress.WP.AlternativeFunctions.file_system_operations_fopen -- FP - the file is opened read-only
$file_stream = fopen( $this->file_path, 'r' );
Expand Down
2 changes: 1 addition & 1 deletion jetpack
Submodule jetpack updated 296 files
4 changes: 2 additions & 2 deletions jetpack.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Plugin URI: https://jetpack.com
* Description: Security, performance, and marketing tools made by WordPress experts. Jetpack keeps your site protected so you can focus on more important things.
* Author: Automattic
* Version: 12.6
* Version: 12.7
* Author URI: https://jetpack.com
* License: GPL2+
* Text Domain: jetpack
Expand Down Expand Up @@ -34,7 +34,7 @@ function vip_default_jetpack_version() {
return '12.5';
} else {
// WordPress 6.2 and newer.
return '12.6';
return '12.7';
}
}

Expand Down
Loading

0 comments on commit e5fe601

Please sign in to comment.