-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6125 from Automattic/staging
Production release: v20250204.0
- Loading branch information
Showing
10 changed files
with
91 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,10 +32,10 @@ jobs: | |
uses: actions/[email protected] | ||
|
||
- name: Initialize CodeQL | ||
uses: github/codeql-action/[email protected].0 | ||
uses: github/codeql-action/[email protected].1 | ||
with: | ||
languages: ${{ matrix.language }} | ||
config-file: ./.github/codeql-config.yml | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/[email protected].0 | ||
uses: github/codeql-action/[email protected].1 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Submodule http-concat
updated
7 files
+11 −5 | .github/workflows/ci.yml | |
+1 −1 | composer.json | |
+88 −87 | composer.lock | |
+8 −2 | concat-utils.php | |
+5 −1 | cssconcat.php | |
+4 −0 | jsconcat.php | |
+13 −11 | ngx-http-concat.php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?php | ||
/** | ||
* Integration: Jetpack. | ||
*/ | ||
namespace Automattic\VIP\Integrations; | ||
|
||
class JetpackIntegration extends Integration { | ||
protected string $version = ''; | ||
|
||
public function is_loaded(): bool { | ||
return class_exists( 'Jetpack' ); | ||
} | ||
|
||
public function configure(): void { | ||
if ( isset( $this->get_env_config()['version'] ) ) { | ||
$this->version = $this->get_env_config()['version']; | ||
} elseif ( defined( 'VIP_JETPACK_PINNED_VERSION' ) ) { | ||
$this->version = constant( 'VIP_JETPACK_PINNED_VERSION' ); | ||
} else { | ||
$this->version = vip_default_jetpack_version(); | ||
} | ||
} | ||
|
||
public function load(): void { | ||
if ( $this->is_loaded() ) { | ||
return; | ||
} | ||
|
||
// Pass through to the old code for now which will respect all existing constants | ||
if ( ! defined( 'WP_INSTALLING' ) ) { | ||
vip_jetpack_load(); | ||
} | ||
} | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters