Skip to content

Commit 554dacc

Browse files
authored
Merge pull request #19 from threadi/feature/setCompatibilityWithWp68
set compatibility with WordPress 6.8
2 parents 7e5548d + 9343781 commit 554dacc

File tree

4 files changed

+27
-12
lines changed

4 files changed

+27
-12
lines changed

changelog.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## [1.0.10] - 05.04.2025
4+
5+
### Changed
6+
7+
- Optimized check for WordPress Coding Standards
8+
- Set compatibility with WordPress 6.8
9+
310
## [1.0.9] - 22.12.2024
411

512
### Added
@@ -18,7 +25,6 @@
1825
- Removed JSON-language files from plugin
1926
- Updated compatibility-flag for WordPress 6.5
2027

21-
2228
## [1.0.7] - 21.10.2023
2329

2430
### Changed

composer.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
11
{
22
"name": "threadi/auto-category-for-posts",
33
"version": "1.0.0",
4-
"require-dev": {
5-
"wp-coding-standards/wpcs": "^3.0.0"
6-
},
74
"scripts": {
85
"post-install-cmd": [
9-
"\"vendor/bin/phpcs\" --config-set installed_paths vendor/wp-coding-standards/wpcs,vendor/phpcsstandards/phpcsutils,vendor/phpcsstandards/phpcsextra"
6+
"\"vendor/bin/phpcs\" --config-set installed_paths vendor/wp-coding-standards/wpcs,vendor/phpcsstandards/phpcsutils,vendor/phpcsstandards/phpcsextra,vendor/sirbrillig/phpcs-variable-analysis,vendor/automattic/vipwpcs"
107
],
118
"post-update-cmd": [
12-
"\"vendor/bin/phpcs\" --config-set installed_paths vendor/wp-coding-standards/wpcs,vendor/phpcsstandards/phpcsutils,vendor/phpcsstandards/phpcsextra"
9+
"\"vendor/bin/phpcs\" --config-set installed_paths vendor/wp-coding-standards/wpcs,vendor/phpcsstandards/phpcsutils,vendor/phpcsstandards/phpcsextra,vendor/sirbrillig/phpcs-variable-analysis,vendor/automattic/vipwpcs"
1310
]
1411
},
1512
"config": {
1613
"allow-plugins": {
1714
"dealerdirect/phpcodesniffer-composer-installer": true
1815
}
16+
},
17+
"require-dev": {
18+
"wp-coding-standards/wpcs": "^3.0.0",
19+
"automattic/vipwpcs": "^3.0"
1920
}
2021
}

readme.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Run in main directory:
2525
### update translation-file
2626

2727
1. Open .po-file of the language in PoEdit.
28-
2. Go to "Translate > "Update from POT-file".
28+
2. Go to "Translate" > "Update from POT-file".
2929
3. After this the new entries are added to the language-file.
3030

3131
### export translation-file
@@ -54,4 +54,12 @@ OR use ant in build/-directory: `ant json-translations`
5454

5555
### Repair
5656

57-
`vendor/bin/phpcbf --extensions=php --ignore=*/vendor/*,*/doc/*,*/svn/*,*/node_modules/* --standard=ruleset.xml .`
57+
`vendor/bin/phpcbf --extensions=php --ignore=*/vendor/*,*/doc/*,*/svn/*,*/node_modules/* --standard=ruleset.xml .`
58+
59+
## Check for WordPress VIP Coding Standards
60+
61+
Hint: this check runs against the VIP-GO-platform which is not our target for this plugin. Many warnings can be ignored.
62+
63+
### Run
64+
65+
`vendor/bin/phpcs --extensions=php --ignore=*/vendor/*,*/doc/*,*/svn/*,*/node_modules/* --standard=WordPress-VIP-Go .`

readme.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Contributors: threadi
33
Tags: category, auto category, posts
44
Requires at least: 5.8
5-
Tested up to: 6.7
5+
Tested up to: 6.8
66
Requires PHP: 7.4
77
License: GPL-2.0-or-later
88
License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -22,8 +22,8 @@ Define a default category for each new post before it is saved. This will alread
2222

2323
== Changelog ==
2424

25-
= 1.0.9 =
26-
* Added GitHub action to build releases
27-
* Move this changelog to GitHub
25+
= @@VersionNumber@@ =
26+
- Optimized check for WordPress Coding Standards
27+
- Set compatibility with WordPress 6.8
2828

2929
[older changes](https://github.com/threadi/auto-category-for-posts/blob/master/changelog.md)

0 commit comments

Comments
 (0)