Skip to content

Commit db6acf1

Browse files
authored
Update
1 parent b63c669 commit db6acf1

4 files changed

Lines changed: 12 additions & 91 deletions

File tree

.github/copilot-instructions.md

Lines changed: 6 additions & 5 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,8 +82,9 @@ 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.
8990
- 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.

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
# Changelog for Simple WP Site Exporter
22

33
## Unreleased
4+
### Documentation Workflow Updates
5+
- **Version Control**: Removed `changelog.txt` file to streamline documentation; maintaining only `readme.txt` (WordPress.org) and `CHANGELOG.md` (developers)
46

57
## 1.8.0 - June 26, 2025
68
### WordPress Standards Compliance Enhancement
79
- **WordPress Baseline**: Updated minimum WordPress version requirement from 6.0 to 6.5+ for better compatibility
810
- **Internationalization**: Added complete i18n support with `load_plugin_textdomain()` and `.pot` file generation
911
- **Language Files**: Created `languages/simple-wp-site-exporter.pot` with all translatable strings
10-
- **Version Control**: Added `changelog.txt` file as specified in copilot instructions for complete version documentation
1112
- **Documentation Consistency**: Updated README.md, readme.txt, and phpcs.xml to reflect WordPress 6.5+ baseline
1213
- **Workflow Updates**: Modified compatibility testing to use WordPress 6.5+ as minimum test version
1314
- **Standards Alignment**: Ensured all code, workflows, and documentation strictly follow WordPress coding standards

changelog.txt

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

readme.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,10 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
8989

9090
== Changelog ==
9191

92+
= Unreleased =
93+
* **Documentation Workflow**: Removed changelog.txt file to streamline documentation process
94+
* **Version Control**: Maintaining only readme.txt (WordPress.org) and CHANGELOG.md (developers) for changelog management
95+
9296
= 1.7.0 =
9397
* **SECURITY FIX**: Resolved Server-Side Request Forgery (SSRF) vulnerability in path validation
9498
* **Filesystem Security**: Removed filesystem probing functions (is_dir, is_readable) from user input validation

0 commit comments

Comments
 (0)