Skip to content

Commit 15468c0

Browse files
authored
Update
1 parent 072f0f1 commit 15468c0

File tree

4 files changed

+13
-140
lines changed

4 files changed

+13
-140
lines changed

.github/copilot-instructions.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Change summaries should never be created in the form of new .md files.
2121

2222
# Code Analysis and Reading Standards
2323

24-
You must read files completely and thoroughly, with a minimum of 1000 lines per read operation when analyzing code. Never truncate files or stop reading at arbitrary limits like 50 or 100 lines - this lazy approach provides incomplete context and leads to poor suggestions. When you encounter any file, read it from the very first line to the absolute last line, processing all functions, classes, variables, imports, exports, and code structures. Your analysis must be based on the complete file content, not partial snapshots. Always read at least 1000 lines minimum per read operation, and if the file is larger, continue reading until you've processed the entire file. Do not use phrases like "showing first X lines" or "truncated for brevity" or "rest of file omitted" - these indicate lazy, incomplete analysis. Instead, demonstrate that you've read the complete file by referencing specific sections throughout the entire codebase, understanding the full context of how functions interact, how variables are used across the entire file, and how the complete code structure works together. Your suggestions and recommendations must reflect knowledge of the entire file, not just the beginning portions. Take the time to read everything properly because thoroughness and accuracy based on complete file knowledge is infinitely more valuable than quick, incomplete reviews that miss critical context and lead to incorrect suggestions.
24+
You must read files completely and thoroughly, with a minimum of 1500 lines per read operation when analyzing code. Never truncate files or stop reading at arbitrary limits like 50 or 100 lines - this lazy approach provides incomplete context and leads to poor suggestions. When you encounter any file, read it from the very first line to the absolute last line, processing all functions, classes, variables, imports, exports, and code structures. Your analysis must be based on the complete file content, not partial snapshots. Always read at least 1000 lines minimum per read operation, and if the file is larger, continue reading until you've processed the entire file. Do not use phrases like "showing first X lines" or "truncated for brevity" or "rest of file omitted" - these indicate lazy, incomplete analysis. Instead, demonstrate that you've read the complete file by referencing specific sections throughout the entire codebase, understanding the full context of how functions interact, how variables are used across the entire file, and how the complete code structure works together. Your suggestions and recommendations must reflect knowledge of the entire file, not just the beginning portions. Take the time to read everything properly because thoroughness and accuracy based on complete file knowledge is infinitely more valuable than quick, incomplete reviews that miss critical context and lead to incorrect suggestions.
2525

2626
# Coding Standards and Preferences
2727

@@ -70,8 +70,8 @@ You must read files completely and thoroughly, with a minimum of 1000 lines per
7070
- Release versions, software tested versions, and minimum software supported versions for this project are listed in numerous places, when updating the release version for this project, ensure that all of these locations are updated accordingly.
7171
- Version Locations:
7272
- README.md
73-
- changelog.txt
74-
- changelog.md
73+
- readme.txt (for WordPress.org)
74+
- CHANGELOG.md
7575
- plugin header (in the main plugin file)
7676
- plugin section: "// Define plugin constants"
7777
- plugin *.pot files (e.g., languages/plugin-name.pot)
@@ -82,11 +82,12 @@ You must read files completely and thoroughly, with a minimum of 1000 lines per
8282
- Always add new information to the changelog when we make changes to the codebase, even if a new version is not released.
8383
- 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.
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.
85+
- When making changes to the codebase, always update the relevant documentation files, including README.md, readme.txt, and CHANGELOG.md, even when a new version is not released.
86+
- Note: changelog.txt has been removed from this project. Only maintain readme.txt (for WordPress.org) and CHANGELOG.md (for developers).
87+
- Please do not skip these locations, as the changelog files must be in sync with each other, and the version numbers must be consistent across all files.
8788
- 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.
8889
- 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.
90+
- 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.
9091

9192
# General Coding Standards
9293

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
44
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
55

66
## [Unreleased]
7+
### Removed
8+
- **File Cleanup**: Removed changelog.txt file as per updated version control guidelines - only maintaining readme.txt (WordPress.org) and CHANGELOG.md (developers)
9+
### Updated
10+
- **Documentation Guidelines**: Updated copilot instructions to streamline changelog maintenance to two files instead of three
711

812
## [1.5.9] - 2025-06-26
913
### Updated
1014
- **Requirements**: Updated minimum WordPress version requirement to 6.5+ across all files for modern WordPress compatibility
11-
- **Files Created**: Added changelog.txt for WordPress.org compatibility as per version control guidelines
1215
- **Internationalization**: Created languages/simple-wp-optimizer.pot file for translation support
1316
- **Documentation**: Updated all version references to reflect new WordPress 6.5+ minimum requirement
1417
- **Workflow**: Updated GitHub Actions workflow compatibility testing from WordPress 6.0 to 6.5

changelog.txt

Lines changed: 0 additions & 132 deletions
This file was deleted.

readme.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,11 @@ No, the plugin has a simple interface where you can toggle features on and off.
4343
== Changelog ==
4444

4545
= Unreleased =
46+
* FILE CLEANUP: Removed changelog.txt file as per updated version control guidelines - only maintaining readme.txt (WordPress.org) and CHANGELOG.md (developers)
47+
* DOCUMENTATION: Updated copilot instructions to streamline changelog maintenance to two files instead of three
4648

4749
= 1.5.9 =
4850
* REQUIREMENTS: Updated minimum WordPress version requirement to 6.5+ across all files for modern WordPress compatibility
49-
* FILES CREATED: Added changelog.txt for WordPress.org compatibility as per version control guidelines
5051
* INTERNATIONALIZATION: Created languages/simple-wp-optimizer.pot file for translation support
5152
* DOCUMENTATION: Updated all version references to reflect new WordPress 6.5+ minimum requirement
5253
* WORKFLOW: Updated GitHub Actions workflow compatibility testing from WordPress 6.0 to 6.5

0 commit comments

Comments
 (0)