Skip to content

Commit 529e830

Browse files
authored
Update
1 parent 57f4dd1 commit 529e830

1 file changed

Lines changed: 13 additions & 10 deletions

File tree

.github/copilot-instructions.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,19 +43,19 @@ You must read files completely and thoroughly, with a minimum of 1000 lines per
4343
## WordPress Coding Standards
4444

4545
- Use WordPress coding standards for PHP, JavaScript, and CSS:
46-
- [PHP Coding Standards](https://developer.wordpress.org/coding-standards/wordpress-coding-standards/php/)
47-
- [JavaScript Coding Standards](https://developer.wordpress.org/coding-standards/wordpress-coding-standards/javascript/)
48-
- [CSS Coding Standards](https://developer.wordpress.org/coding-standards/wordpress-coding-standards/css/)
46+
- [PHP Coding Standards](https://developer.wordpress.org/coding-standards/wordpress-coding-standards/php/)
47+
- [JavaScript Coding Standards](https://developer.wordpress.org/coding-standards/wordpress-coding-standards/javascript/)
48+
- [CSS Coding Standards](https://developer.wordpress.org/coding-standards/wordpress-coding-standards/css/)
4949
- Use WordPress coding standards for HTML and template files:
50-
- [HTML Coding Standards](https://developer.wordpress.org/coding-standards/wordpress-coding-standards/html/)
50+
- [HTML Coding Standards](https://developer.wordpress.org/coding-standards/wordpress-coding-standards/html/)
5151
- Use WordPress coding standards for accessibility:
52-
- [Accessibility Coding Standards](https://developer.wordpress.org/coding-standards/wordpress-coding-standards/accessibility/)
52+
- [Accessibility Coding Standards](https://developer.wordpress.org/coding-standards/wordpress-coding-standards/accessibility/)
5353
- Use WordPress Gutenberg Project Coding Guidelines:
54-
- [Gutenberg Project Coding Guidelines](https://developer.wordpress.org/block-editor/contributors/code/coding-guidelines/)
54+
- [Gutenberg Project Coding Guidelines](https://developer.wordpress.org/block-editor/contributors/code/coding-guidelines/)
5555
- Use WordPress JavaScript Documentation Standards:
56-
- [JavaScript Documentation Standards](https://developer.wordpress.org/coding-standards/inline-documentation-standards/javascript/)
56+
- [JavaScript Documentation Standards](https://developer.wordpress.org/coding-standards/inline-documentation-standards/javascript/)
5757
- Use WordPress PHP Documentation Standards:
58-
- [PHP Documentation Standards](https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/)
58+
- [PHP Documentation Standards](https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/)
5959

6060
## Supported Versions
6161

@@ -80,10 +80,13 @@ You must read files completely and thoroughly, with a minimum of 1000 lines per
8080
- documentation files (e.g., docs/README.md)
8181
- Use semantic versioning (MAJOR.MINOR.PATCH) for all releases.
8282
- Always add new information to the changelog when we make changes to the codebase, even if a new version is not released.
83-
- When adding new information to the changelog, changes will first be added to an "Unreleased" section at the top of the changelog file, and then later moved to a new version section when a new version is released.
83+
- When adding new information to the changelogs, changes will first be added to an "Unreleased" section at the top of the changelog file, and then later moved to a new version section when a new version is released. Be sure to follow this pattern and do not skip any of the changelog files.
8484
- Do not automatically update the version number in the plugin header or other files. Instead, provide a clear and concise change summary that includes the version number and a brief description of the changes made.
85-
- When making changes to the codebase, always update the relevant documentation files, including README.md, readme.txt, changelog.txt, and changelog.md even when a new version is not released.
85+
- When making changes to the codebase, always update the relevant documentation files, including README.md, readme.txt, changelog.txt, and changelog.md, even when a new version is not released.
86+
- Please do not skip these locations, as all of the changelog files must be in sync with each other, and the version numbers must be consistent across all files.
8687
- I will instruct you when to update the version number, and you should not do this automatically. Always ask for confirmation before updating the version number.
88+
- When the version number is updated, ensure that the new version number is reflected in all relevant files, including the plugin header, changelog files, and documentation files.
89+
- WHen the version number is updated, make special note to update the "Unreleased" section in the changelog files to reflect the new version number and a brief description of the changes made. This ensures that all changes are documented and easily accessible for future reference.
8790

8891
# General Coding Standards
8992

0 commit comments

Comments
 (0)