mirror of
https://github.com/ClassicPress/ClassicPress.git
synced 2025-12-08 02:23:04 +08:00
Compare commits
11 commits
d75cac57ff
...
543d24ccfe
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
543d24ccfe | ||
|
|
f87a6e9571 | ||
|
|
1c066ab9f7 | ||
|
|
525e584333 | ||
|
|
6d93a6f262 | ||
|
|
cd9b7922d1 | ||
|
|
4b9e54c39c | ||
|
|
ff1759863e | ||
|
|
061d181fb5 | ||
|
|
b5f32d97a3 | ||
|
|
188196d221 |
10 changed files with 89 additions and 113 deletions
5
.github/workflows/coding-standards.yml
vendored
5
.github/workflows/coding-standards.yml
vendored
|
|
@ -34,7 +34,7 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Set up PHP
|
||||
uses: shivammathur/setup-php@v2
|
||||
|
|
@ -91,7 +91,7 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Read .nvmrc
|
||||
run: echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_OUTPUT
|
||||
|
|
@ -152,6 +152,7 @@ jobs:
|
|||
mysql --version
|
||||
|
||||
- name: Bypass Cloudflare for GitHub Action
|
||||
if: ${{ github.event_name != 'pull_request' || ( github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork == false ) }}
|
||||
uses: xiaotianxt/bypass-cloudflare-for-github-action@v2.0.1
|
||||
with:
|
||||
cf_account_id: ${{ secrets.CF_ACCOUNT_ID }}
|
||||
|
|
|
|||
2
.github/workflows/javascript-tests.yml
vendored
2
.github/workflows/javascript-tests.yml
vendored
|
|
@ -30,7 +30,7 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Read .nvmrc
|
||||
run: echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_OUTPUT
|
||||
|
|
|
|||
2
.github/workflows/php-compatibility.yml
vendored
2
.github/workflows/php-compatibility.yml
vendored
|
|
@ -34,7 +34,7 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Set up PHP
|
||||
uses: shivammathur/setup-php@v2
|
||||
|
|
|
|||
78
.github/workflows/phpunit-tests.yml
vendored
78
.github/workflows/phpunit-tests.yml
vendored
|
|
@ -49,53 +49,47 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
php: [ '8.4', '8.3', '8.2', '8.1', '8.0', '7.4' ]
|
||||
php: [ '8.5', '8.4', '8.3', '8.2', '8.1', '8.0', '7.4' ]
|
||||
mysql: [ '5.7', '8.0' ]
|
||||
multisite: [ false, true ]
|
||||
memcached: [ false ]
|
||||
coverage: [ none ]
|
||||
experimental: [ false ]
|
||||
# Include jobs that test with memcached.
|
||||
# Include jobs that test with memcached or xdebug.
|
||||
include:
|
||||
- php: '8.0'
|
||||
mysql: '5.7'
|
||||
multisite: false
|
||||
memcached: true
|
||||
coverage: none
|
||||
experimental: false
|
||||
- php: '8.2'
|
||||
mysql: '5.7'
|
||||
multisite: false
|
||||
memcached: true
|
||||
coverage: none
|
||||
experimental: false
|
||||
- php: '8.3'
|
||||
mysql: '5.7'
|
||||
multisite: false
|
||||
memcached: true
|
||||
coverage: none
|
||||
experimental: false
|
||||
- php: '8.0'
|
||||
- php: '8.4'
|
||||
mysql: '5.7'
|
||||
multisite: false
|
||||
memcached: true
|
||||
coverage: none
|
||||
experimental: false
|
||||
- php: '8.3'
|
||||
mysql: '8.0'
|
||||
multisite: false
|
||||
memcached: true
|
||||
coverage: none
|
||||
experimental: false
|
||||
- php: '8.2'
|
||||
- php: '8.4'
|
||||
mysql: '8.0'
|
||||
multisite: false
|
||||
memcached: true
|
||||
coverage: none
|
||||
experimental: false
|
||||
- php: '8.2'
|
||||
mysql: '8.0'
|
||||
- php: '8.3'
|
||||
mysql: '5.7'
|
||||
multisite: true
|
||||
memcached: true
|
||||
coverage: none
|
||||
experimental: false
|
||||
- php: '8.3'
|
||||
mysql: '8.0'
|
||||
multisite: false
|
||||
- php: '8.4'
|
||||
mysql: '5.7'
|
||||
multisite: true
|
||||
memcached: true
|
||||
coverage: none
|
||||
experimental: false
|
||||
|
|
@ -105,48 +99,24 @@ jobs:
|
|||
memcached: true
|
||||
coverage: none
|
||||
experimental: false
|
||||
- php: '8.3'
|
||||
- php: '8.4'
|
||||
mysql: '8.0'
|
||||
multisite: true
|
||||
memcached: true
|
||||
coverage: none
|
||||
experimental: false
|
||||
- php: '8.4'
|
||||
mysql: '8.0'
|
||||
multisite: false
|
||||
memcached: false
|
||||
coverage: xdebug
|
||||
experimental: false
|
||||
- php: '8.3'
|
||||
- php: '8.4'
|
||||
mysql: '8.0'
|
||||
multisite: true
|
||||
memcached: false
|
||||
coverage: xdebug
|
||||
experimental: false
|
||||
- php: '8.5'
|
||||
mysql: '5.7'
|
||||
multisite: false
|
||||
memcached: false
|
||||
coverage: none
|
||||
experimental: true
|
||||
- php: '8.5'
|
||||
mysql: '8.0'
|
||||
multisite: false
|
||||
memcached: false
|
||||
coverage: none
|
||||
experimental: true
|
||||
- php: '8.5'
|
||||
mysql: '5.7'
|
||||
multisite: true
|
||||
memcached: false
|
||||
coverage: none
|
||||
experimental: true
|
||||
- php: '8.5'
|
||||
mysql: '8.0'
|
||||
multisite: true
|
||||
memcached: false
|
||||
coverage: none
|
||||
experimental: true
|
||||
- php: '8.5'
|
||||
mysql: '8.0'
|
||||
multisite: false
|
||||
memcached: true
|
||||
coverage: none
|
||||
experimental: true
|
||||
|
||||
steps:
|
||||
- name: Configure environment variables
|
||||
|
|
@ -155,7 +125,7 @@ jobs:
|
|||
echo "PHP_FPM_GID=$(id -g)" >> $GITHUB_ENV
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Read .nvmrc
|
||||
run: echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_OUTPUT
|
||||
|
|
|
|||
2
.github/workflows/triage.yml
vendored
2
.github/workflows/triage.yml
vendored
|
|
@ -15,7 +15,7 @@ jobs:
|
|||
issues: write
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/checkout@v6
|
||||
- uses: actions-ecosystem/action-add-labels@v1
|
||||
if: github.event.issue.labels[0] == null
|
||||
with:
|
||||
|
|
|
|||
|
|
@ -15,10 +15,10 @@
|
|||
"require-dev": {
|
||||
"composer/ca-bundle": "1.5.9",
|
||||
"dealerdirect/phpcodesniffer-composer-installer": "1.2.0",
|
||||
"wp-coding-standards/wpcs": "3.2.0",
|
||||
"wp-coding-standards/wpcs": "3.3.0",
|
||||
"phpcompatibility/phpcompatibility-wp": "2.1.8",
|
||||
"yoast/phpunit-polyfills": "4.0.0",
|
||||
"phpunit/phpunit": "^9"
|
||||
"phpunit/phpunit": "^12"
|
||||
},
|
||||
"config": {
|
||||
"allow-plugins": {
|
||||
|
|
|
|||
80
package-lock.json
generated
80
package-lock.json
generated
|
|
@ -9,12 +9,12 @@
|
|||
"version": "2.5.0+dev",
|
||||
"license": "GPL-2.0+",
|
||||
"dependencies": {
|
||||
"@wordpress/a11y": "4.35.0",
|
||||
"@wordpress/api-fetch": "7.35.0",
|
||||
"@wordpress/dom-ready": "4.35.0",
|
||||
"@wordpress/hooks": "4.35.0",
|
||||
"@wordpress/i18n": "6.8.0",
|
||||
"@wordpress/url": "4.35.0",
|
||||
"@wordpress/a11y": "4.36.0",
|
||||
"@wordpress/api-fetch": "7.36.0",
|
||||
"@wordpress/dom-ready": "4.36.0",
|
||||
"@wordpress/hooks": "4.36.0",
|
||||
"@wordpress/i18n": "6.9.0",
|
||||
"@wordpress/url": "4.36.0",
|
||||
"clipboard": "^2.0.11",
|
||||
"lodash": "^4.17.21",
|
||||
"mediaelement": "^7.0.7",
|
||||
|
|
@ -41,13 +41,13 @@
|
|||
"grunt-legacy-util": "2.0.1",
|
||||
"grunt-rtlcss": "2.0.2",
|
||||
"grunt-sass": "4.0.1",
|
||||
"grunt-webpack": "7.0.0",
|
||||
"grunt-webpack": "7.0.1",
|
||||
"ink-docstrap": "1.3.2",
|
||||
"install-changed": "^1.1.0",
|
||||
"postcss": "8.5.6",
|
||||
"qunit": "^2.19.4",
|
||||
"rollup": "4.53.3",
|
||||
"sass": "1.94.1",
|
||||
"sass": "1.94.2",
|
||||
"sinon": "^21.0.0",
|
||||
"sinon-test": "^3.1.5",
|
||||
"source-map-loader": "^5.0.0",
|
||||
|
|
@ -1629,13 +1629,13 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@wordpress/a11y": {
|
||||
"version": "4.35.0",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/a11y/-/a11y-4.35.0.tgz",
|
||||
"integrity": "sha512-37DeBnBU20lLpQjwAZx0fkPsrrXT4COMSRhZOiFifv7wCiNW1DIukfqReAc/yZ6x0wOtqXKA3n905D8zm5NF5A==",
|
||||
"version": "4.36.0",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/a11y/-/a11y-4.36.0.tgz",
|
||||
"integrity": "sha512-E69wsv1Ye/B3xeVVDCJO4YzHgCSVWjGPTTMe25I8HBjMyJcNvjGTSJkaWJxwRmKNapFJ7pkeVUNwmk5aJ3apWA==",
|
||||
"license": "GPL-2.0-or-later",
|
||||
"dependencies": {
|
||||
"@wordpress/dom-ready": "^4.35.0",
|
||||
"@wordpress/i18n": "^6.8.0"
|
||||
"@wordpress/dom-ready": "^4.36.0",
|
||||
"@wordpress/i18n": "^6.9.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18.12.0",
|
||||
|
|
@ -1643,13 +1643,13 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@wordpress/api-fetch": {
|
||||
"version": "7.35.0",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/api-fetch/-/api-fetch-7.35.0.tgz",
|
||||
"integrity": "sha512-jWIhNUVYkUOsVLvGodBhzLe4DR+gCNmh7sm91Vce/79M+DXMtEFLc8jHJ5kXKudnPPTzy29KF1ZzZJ9rm9sqRQ==",
|
||||
"version": "7.36.0",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/api-fetch/-/api-fetch-7.36.0.tgz",
|
||||
"integrity": "sha512-71yTZi1tSqYbfzT5O+Cx2L2gWpp3y+twdch8mGIzpRmNDz6L/NvntIko7Qmc73tu3dSVC7KakvEmCduOaDNKRQ==",
|
||||
"license": "GPL-2.0-or-later",
|
||||
"dependencies": {
|
||||
"@wordpress/i18n": "^6.8.0",
|
||||
"@wordpress/url": "^4.35.0"
|
||||
"@wordpress/i18n": "^6.9.0",
|
||||
"@wordpress/url": "^4.36.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18.12.0",
|
||||
|
|
@ -1657,9 +1657,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@wordpress/dom-ready": {
|
||||
"version": "4.35.0",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/dom-ready/-/dom-ready-4.35.0.tgz",
|
||||
"integrity": "sha512-u8ifPAFsIAkBG3ehcZdnt+b3t2S0gD3dyDMKgl+GO95wq6kJFqo/NYNQqsjeYUMOFX7cL9D0F2gxiBB4D/AQIA==",
|
||||
"version": "4.36.0",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/dom-ready/-/dom-ready-4.36.0.tgz",
|
||||
"integrity": "sha512-oFhoWcqewtUJ2I3F3YWdrV30LQIPmJgDAgJ+HVt30YSHHBK5Qsb0s0//LeCagkXvXFPXFX2PVyhrq2kq67mqcg==",
|
||||
"license": "GPL-2.0-or-later",
|
||||
"engines": {
|
||||
"node": ">=18.12.0",
|
||||
|
|
@ -1667,9 +1667,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@wordpress/hooks": {
|
||||
"version": "4.35.0",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/hooks/-/hooks-4.35.0.tgz",
|
||||
"integrity": "sha512-PQcAv/zfMYn5sPScOWDu1vgYkyHaDFt7+1IHvwR0RGE0AdQrdnKjvm6VJ4ALugA+zvJZkBZxLk5Gm+NZGAWIMg==",
|
||||
"version": "4.36.0",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/hooks/-/hooks-4.36.0.tgz",
|
||||
"integrity": "sha512-9kB2lanmVrubJEqWDSHtyUx7q4ZAWGArakY/GsUdlFsnf9m+VmQLQl92uCpHWYjKzHec1hwcBhBB3Tu9aBWDtQ==",
|
||||
"license": "GPL-2.0-or-later",
|
||||
"engines": {
|
||||
"node": ">=18.12.0",
|
||||
|
|
@ -1677,13 +1677,13 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@wordpress/i18n": {
|
||||
"version": "6.8.0",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/i18n/-/i18n-6.8.0.tgz",
|
||||
"integrity": "sha512-lNMjf0VXWm2qzkEI+v1psvb26FN+B32sO6nLOFxs5Lay/E0WVqCw31DiRw8nETlzVwsMheO+iy0lCSOLvg+jog==",
|
||||
"version": "6.9.0",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/i18n/-/i18n-6.9.0.tgz",
|
||||
"integrity": "sha512-ke4BPQUHmj82mwYoasotKt3Sghf0jK4vec56cWxwnzUvqq7LMy/0H7F5NzJ4CY378WS+TOdLbqmIb4sj+f7eog==",
|
||||
"license": "GPL-2.0-or-later",
|
||||
"dependencies": {
|
||||
"@tannin/sprintf": "^1.3.2",
|
||||
"@wordpress/hooks": "^4.35.0",
|
||||
"@wordpress/hooks": "^4.36.0",
|
||||
"gettext-parser": "^1.3.1",
|
||||
"memize": "^2.1.0",
|
||||
"tannin": "^1.2.0"
|
||||
|
|
@ -1697,9 +1697,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@wordpress/url": {
|
||||
"version": "4.35.0",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/url/-/url-4.35.0.tgz",
|
||||
"integrity": "sha512-h6KK0OePnc64T50BwVWmQb7xmcMW0XDtfh+1m/a0tlzXGLU4TnBjUUs+a0h0y6Tdla14lc2BtbLJLFwky06vbg==",
|
||||
"version": "4.36.0",
|
||||
"resolved": "https://registry.npmjs.org/@wordpress/url/-/url-4.36.0.tgz",
|
||||
"integrity": "sha512-b61pCnJCjaxIiiH/+leR3IVZlKUlSP/PnYCFg1cLa9Qv8TQBr5REnmtBDnrfNzaHEP7uE+A81BJe5lVFP/AQgw==",
|
||||
"license": "GPL-2.0-or-later",
|
||||
"dependencies": {
|
||||
"remove-accents": "^0.5.0"
|
||||
|
|
@ -7024,9 +7024,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/grunt-webpack": {
|
||||
"version": "7.0.0",
|
||||
"resolved": "https://registry.npmjs.org/grunt-webpack/-/grunt-webpack-7.0.0.tgz",
|
||||
"integrity": "sha512-HjeKSoE94ZNAqLLBT/Iwew6MoUpyBpRDGIofrO51Btl+X7RzRXh7ERUm844RzOQuFF2IQ51MxsfC1zb7ylJ8XA==",
|
||||
"version": "7.0.1",
|
||||
"resolved": "https://registry.npmjs.org/grunt-webpack/-/grunt-webpack-7.0.1.tgz",
|
||||
"integrity": "sha512-3Mo0UfZE7v5CnSCIkN6tGMlKDOCr0okvk8SQrL9X/6JhrE2sQlGwFEI5Q6j89rZ9DTl9jEjkIev/hfR0x85wKg==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
|
@ -10643,9 +10643,9 @@
|
|||
"license": "MIT"
|
||||
},
|
||||
"node_modules/qunit": {
|
||||
"version": "2.24.2",
|
||||
"resolved": "https://registry.npmjs.org/qunit/-/qunit-2.24.2.tgz",
|
||||
"integrity": "sha512-dWlYs+Q9AIDT3eHKgkpEpWrSjHjqTJNCAJr1tUo5bQuDMzlZvaqCz1bNZhqzNu41ibkIQ7b50S9y6IMlrrUfNQ==",
|
||||
"version": "2.24.3",
|
||||
"resolved": "https://registry.npmjs.org/qunit/-/qunit-2.24.3.tgz",
|
||||
"integrity": "sha512-JTHwSfHf2Cw8TqusZo2tT4F9d+XA/pp/veoxUDiPNHtB1Wc1VPctiHHIv6HA3vrXNOBu9LSzFM7YU2OV9Gz4vQ==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
|
@ -11278,9 +11278,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/sass": {
|
||||
"version": "1.94.1",
|
||||
"resolved": "https://registry.npmjs.org/sass/-/sass-1.94.1.tgz",
|
||||
"integrity": "sha512-/YVm5FRQaRlr3oNh2LLFYne1PdPlRZGyKnHh1sLleOqLcohTR4eUUvBjBIqkl1fEXd1MGOHgzJGJh+LgTtV4KQ==",
|
||||
"version": "1.94.2",
|
||||
"resolved": "https://registry.npmjs.org/sass/-/sass-1.94.2.tgz",
|
||||
"integrity": "sha512-N+7WK20/wOr7CzA2snJcUSSNTCzeCGUTFY3OgeQP3mZ1aj9NMQ0mSTXwlrnd89j33zzQJGqIN52GIOmYrfq46A==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
|
|
|||
16
package.json
16
package.json
|
|
@ -28,13 +28,13 @@
|
|||
"grunt-legacy-util": "2.0.1",
|
||||
"grunt-rtlcss": "2.0.2",
|
||||
"grunt-sass": "4.0.1",
|
||||
"grunt-webpack": "7.0.0",
|
||||
"grunt-webpack": "7.0.1",
|
||||
"ink-docstrap": "1.3.2",
|
||||
"install-changed": "^1.1.0",
|
||||
"postcss": "8.5.6",
|
||||
"qunit": "^2.19.4",
|
||||
"rollup": "4.53.3",
|
||||
"sass": "1.94.1",
|
||||
"sass": "1.94.2",
|
||||
"sinon": "^21.0.0",
|
||||
"sinon-test": "^3.1.5",
|
||||
"source-map-loader": "^5.0.0",
|
||||
|
|
@ -43,12 +43,12 @@
|
|||
"webpack": "5.103.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@wordpress/a11y": "4.35.0",
|
||||
"@wordpress/api-fetch": "7.35.0",
|
||||
"@wordpress/dom-ready": "4.35.0",
|
||||
"@wordpress/hooks": "4.35.0",
|
||||
"@wordpress/i18n": "6.8.0",
|
||||
"@wordpress/url": "4.35.0",
|
||||
"@wordpress/a11y": "4.36.0",
|
||||
"@wordpress/api-fetch": "7.36.0",
|
||||
"@wordpress/dom-ready": "4.36.0",
|
||||
"@wordpress/hooks": "4.36.0",
|
||||
"@wordpress/i18n": "6.9.0",
|
||||
"@wordpress/url": "4.36.0",
|
||||
"clipboard": "^2.0.11",
|
||||
"lodash": "^4.17.21",
|
||||
"mediaelement": "^7.0.7",
|
||||
|
|
|
|||
|
|
@ -1037,14 +1037,19 @@ document.addEventListener( 'DOMContentLoaded', function() {
|
|||
e.target.textContent = 'Bulk select';
|
||||
dateFilter.style.display = '';
|
||||
typeFilter.style.display = '';
|
||||
mediaCatSelect.style.display = '';
|
||||
if ( mediaCatSelect ) {
|
||||
mediaCatSelect.style.display = '';
|
||||
}
|
||||
deleteButton.classList.add( 'hidden' );
|
||||
deleteButton.disabled = true;
|
||||
toolbar.classList.remove( 'media-toolbar-mode-select' );
|
||||
} else {
|
||||
e.target.textContent = 'Cancel';
|
||||
dateFilter.style.display = 'none';
|
||||
typeFilter.style.display = 'none';
|
||||
mediaCatSelect.style.display = 'none';
|
||||
if ( mediaCatSelect ) {
|
||||
mediaCatSelect.style.display = 'none';
|
||||
}
|
||||
deleteButton.classList.remove( 'hidden' );
|
||||
toolbar.classList.add( 'media-toolbar-mode-select' );
|
||||
|
||||
|
|
|
|||
|
|
@ -409,7 +409,7 @@ function wp_update_plugins( $extra_stats = array() ) {
|
|||
|
||||
// Support updates for any plugins using the `Update URI` header field.
|
||||
foreach ( $plugins as $plugin_file => $plugin_data ) {
|
||||
if ( ! $plugin_data['UpdateURI'] || isset( $updates->response[ $plugin_file ] ) ) {
|
||||
if ( ! $plugin_data['UpdateURI'] ) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
@ -689,7 +689,7 @@ function wp_update_themes( $extra_stats = array() ) {
|
|||
|
||||
// Support updates for any themes using the `Update URI` header field.
|
||||
foreach ( $themes as $theme_stylesheet => $theme_data ) {
|
||||
if ( ! $theme_data['UpdateURI'] || isset( $new_update->response[ $theme_stylesheet ] ) ) {
|
||||
if ( ! $theme_data['UpdateURI'] ) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue