Commit Graph

78 Commits

Author SHA1 Message Date
marcus 85d55e80fc feat: implement PSR-4 autoloader, remove manual require_once calls (#27)
- Add spl_autoload_register in Plugin::register_autoloader() mapping
  WPALLSTARS\FixPluginDoesNotExistNotices\Admin\ to admin/lib/ and
  WPALLSTARS\FixPluginDoesNotExistNotices\ to includes/
- Remove manual require_once calls for Core, Admin, and Modal classes
- Rename admin/lib/admin.php -> Admin.php and modal.php -> Modal.php
  for PSR-4 filename convention (class name must match file name)
- Fix composer.json: correct namespace case (WPAllStars -> WPALLSTARS)
  and add admin/lib/ directory mapping for Admin sub-namespace
- Fix wp-fix-plugin-does-not-exist-notices.php require_once to use
  correct case (plugin.php -> Plugin.php)

Resolves #25
2026-04-24 08:34:47 +01:00
marcus 5a80351d1f fix: correct class name and version locations in AGENTS.md
Resolves #24

- Use fully qualified class name WPALLSTARS\FixPluginDoesNotExistNotices\Plugin in version management snippet
- Replace misleading includes/Plugin.php entry (no version constant) with AGENTS.md as the fourth version location
- Add note clarifying Plugin.php passes version via constructor
- Add step 4 to bump-version checklist to update AGENTS.md version string
2026-04-24 08:28:14 +01:00
marcus 34b0b6f0d6 fix: replace ambiguous X.Y.Z placeholder with actual version in AGENTS.md (#23)
Gemini review (PR #14) flagged that 'X.Y.Z' in the Version Management
section is problematic for AI agents — they may interpret it literally
or fail to match it during automated edits.

Replace with the actual current version '2.4.0' plus a parenthetical
instruction '(replace 2.4.0 with the new version)' so the context is
unambiguous: agents can grep for the exact string and know what to
substitute.

Resolves #19
2026-04-23 05:29:11 +01:00
marcus 1d1380275e fix: add missing Updater.php require in load_dependencies and fix Core.php case (#22)
Resolves #20

- Adds require_once for includes/Updater.php which was instantiated in
  init_components() but never loaded in load_dependencies()
- Fixes includes/core.php → includes/Core.php case mismatch (would fail
  on case-sensitive Linux filesystems)
2026-04-23 05:26:36 +01:00
marcus b0bb363f99 fix: correct AI workflow doc file references to prevent read:file_not_found errors
fix: correct AI workflow doc file references to prevent read:file_not_found errors
2026-04-22 21:14:11 +01:00
marcus 17de1949ae fix: correct AI workflow doc file references to prevent read:file_not_found errors
- folder-structure.md: fix includes/core.php → Core.php, plugin.php → Plugin.php,
  updater.php → Updater.php (PascalCase matches actual filenames on disk)
- bug-fixing.md: fix fix-plugin-does-not-exist-notices.php →
  wp-fix-plugin-does-not-exist-notices.php (correct wp- prefix) and
  languages/fix-plugin... → languages/wp-fix-plugin... (same prefix fix)
- feature-development.md: remove reference to non-existent reference-plugins/
  directory to stop read:file_not_found errors when AI follows the docs

Addresses contributor insight issue #16: incorrect file paths in AI workflow
docs were the root cause of 23x read:file_not_found, 71x edit:not_read_first,
32x edit:edit_stale_read, and 66x bash:other errors in AI assistant sessions.
2026-04-22 21:09:42 +01:00
marcus 18cf60c2a4 fix: correct case-sensitive require_once paths and add AGENTS.md (#14)
* fix: correct case-sensitive require_once paths and add AGENTS.md for AI guidance

- Fix includes/plugin.php -> includes/Plugin.php in main plugin file
- Fix includes/core.php -> includes/Core.php in includes/Plugin.php
  (Linux case-sensitive filesystems fail silently on macOS; runtime bug on production)
- Fix .ai-workflows/folder-structure.md: update class files to PascalCase,
  remove references to non-existent admin/ subdirectories (images/, partials/,
  settings/, tools/) that caused read:file_not_found errors in AI sessions
- Add AGENTS.md with authoritative file map to reduce AI agent errors:
  edit:not_read_first, bash:other, edit:edit_stale_read, read:file_not_found

Resolves #13

* fix: markdown formatting in AGENTS.md (Codacy MD022/MD032)
2026-04-22 09:57:41 +01:00
marcus 3eaf8ec7a5 chore: add ai-training=false to .gitattributes 2026-03-26 01:32:25 +00:00
marcus ff838ec5f2 chore: fix malformed .gitignore entry and add loop-state ignore 2026-03-16 16:18:40 +00:00
marcus 7ae29b793f Merge v2.4.0 into main
Sync Wiki / sync-wiki (push) Has been cancelled
ci/woodpecker/push/woodpecker Pipeline failed
2025-04-17 04:29:58 +01:00
marcus a3c675c617 Version 2.4.0 - Add documentation for multi-repository workspaces
Build Release / Build and Create Release (push) Has been cancelled
Build Release / Deploy to WordPress.org (push) Has been cancelled
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/tag/woodpecker Pipeline was successful
v2.4.0 v2.4.0-stable
2025-04-17 04:29:02 +01:00
marcus eb711db17d Add documentation for working in multi-repository workspaces to prevent feature hallucination 2025-04-17 04:25:30 +01:00
marcus 81ca661b75 Update wiki documentation to accurately reflect plugin functionality 2025-04-17 04:20:51 +01:00
marcus 9afa732c20 Update AI assistant documentation for wiki management 2025-04-17 04:12:01 +01:00
marcus 0c194d9e23 Add wiki documentation and sync workflow 2025-04-17 03:56:11 +01:00
marcus d78b2c3d52 Merge v2.3.1 into main
ci/woodpecker/push/woodpecker Pipeline is pending
2025-04-16 19:43:23 +01:00
marcus f2e24df164 Version 2.3.1 - WordPress 6.8 compatibility
Build Release / Build and Create Release (push) Has been cancelled
Build Release / Deploy to WordPress.org (push) Has been cancelled
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/tag/woodpecker Pipeline was successful
v2.3.1 v2.3.1-stable
2025-04-16 19:41:16 +01:00
marcus 100d210f7e Merge v2.3.0 into main
ci/woodpecker/push/woodpecker Pipeline is pending
Plugin Asset Update / Push assets to WordPress.org (push) Has been cancelled
2025-04-16 19:26:13 +01:00
marcus caa9207374 Version 2.3.0 - Improved development workflow documentation
Build Release / Build and Create Release (push) Has been cancelled
Build Release / Deploy to WordPress.org (push) Has been cancelled
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/tag/woodpecker Pipeline was successful
v2.3.0 v2.3.0-stable
2025-04-16 19:23:46 +01:00
marcus 1fa143b4aa Fix case of readme.md file in .ai-workflows directory 2025-04-14 23:30:51 +01:00
marcus b02151ac2e Version 2.2.5 - Improve documentation for developer preferences memory file 2025-04-14 23:30:07 +01:00
marcus e3960f8514 Version 2.2.4 - Add developer preferences memory file and update documentation 2025-04-14 23:20:19 +01:00
marcus f4e09e0287 Update WordPress.org documentation with correct plugin slug and version numbers 2025-04-14 23:03:06 +01:00
marcus dfda9ff8e5 git push -f github main
git status

git push github v2.2.3
Merge branch 'main' of https://github.com/wpallstars/wp-fix-plugin-does-not-exist-notices
2025-04-14 22:56:44 +01:00
marcus fdf2860c10 Version 2.2.3 - Improved folder structure and organization 2025-04-14 22:56:11 +01:00
marcus 3b7f4e49a4 Version 2.2.3 - Improved folder structure and organization 2025-04-14 22:55:05 +01:00
marcus f0c940bf49 Move admin-specific files to admin/lib directory and update references 2025-04-14 22:47:10 +01:00
marcus 0a6279a508 Add folder structure documentation and standardize folder naming 2025-04-14 22:41:53 +01:00
marcus ef3108113e Update documentation to ensure README.md changelog is maintained 2025-04-14 22:33:59 +01:00
marcus 65f784a461 git add README.md && git commit -m "Update README.md with 2.2.2-stable changelog"
Merge tag 'v2.2.2-stable'

Version 2.2.2-stable - Cleanup and improvements
2025-04-14 22:29:24 +01:00
marcus e4c70b5711 Version 2.2.2-stable - Cleanup and improvements 2025-04-14 22:28:37 +01:00
marcus 5fedd333e9 Merge pull request #9 from wpallstars/feature/refactor-and-improvements
Feature/refactor and improvements
2025-04-14 21:47:02 +01:00
marcus c73964888b Update release workflow documentation to reflect current best practices
ci/woodpecker/push/woodpecker Pipeline failed
2025-04-14 21:38:37 +01:00
marcus c5d3c7672c Version 2.2.1 - Commented out version-fix.js script and fixed version consistency
ci/woodpecker/push/woodpecker Pipeline is pending
2025-04-14 21:26:27 +01:00
marcus e1da072640 Replace custom Git Updater fixes with proper plugin headers
ci/woodpecker/push/woodpecker Pipeline is pending
Build Release / Build and Create Release (push) Has been cancelled
Build Release / Deploy to WordPress.org (push) Has been cancelled
ci/woodpecker/tag/woodpecker Pipeline was successful
v2.2.0-4 v2.2.1
2025-04-14 19:43:19 +01:00
marcus b988fbbec0 Update release workflow to include .wordpress-org directory
ci/woodpecker/push/woodpecker Pipeline is pending
Build Release / Build and Create Release (push) Has been cancelled
Build Release / Deploy to WordPress.org (push) Has been cancelled
ci/woodpecker/tag/woodpecker Pipeline was successful
v2.2.0-3
2025-04-14 19:28:20 +01:00
marcus ac3e47a147 Fix release workflow to check if directories exist before copying
ci/woodpecker/push/woodpecker Pipeline is pending
Build Release / Build and Create Release (push) Has been cancelled
Build Release / Deploy to WordPress.org (push) Has been cancelled
ci/woodpecker/tag/woodpecker Pipeline was successful
v2.2.0-2
2025-04-14 19:26:49 +01:00
marcus b05d01da92 Update release workflow to include new directories
ci/woodpecker/push/woodpecker Pipeline is pending
Build Release / Build and Create Release (push) Has been cancelled
Build Release / Deploy to WordPress.org (push) Has been cancelled
ci/woodpecker/tag/woodpecker Pipeline was successful
v2.2.0-1
2025-04-14 19:24:46 +01:00
marcus f447811b49 Merge pull request #8 from wpallstars/feature/refactor-and-improvements
Refactor plugin to use OOP best practices with proper namespaces and …
2025-04-14 19:22:18 +01:00
marcus 15244dc687 Refactor plugin to use OOP best practices with proper namespaces and class structure
ci/woodpecker/push/woodpecker Pipeline is pending
Build Release / Build and Create Release (push) Has been cancelled
Build Release / Deploy to WordPress.org (push) Has been cancelled
ci/woodpecker/tag/woodpecker Pipeline was successful
2.2.0 v2.2.0
2025-04-14 19:18:05 +01:00
marcus 7c0dadac08 Remove assets directory and update references to use .wordpress-org/assets
ci/woodpecker/push/woodpecker Pipeline is pending
Plugin Asset Update / Push assets to WordPress.org (push) Has been cancelled
2025-04-13 15:17:52 +01:00
marcus 717a2721e8 Update file paths to use admin directory for JS and CSS files
ci/woodpecker/push/woodpecker Pipeline is pending
Plugin Asset Update / Push assets to WordPress.org (push) Has been cancelled
2025-04-13 15:10:18 +01:00
marcus 0ced75f9b7 Update .wordpress-org README.md to reflect new asset organization
ci/woodpecker/push/woodpecker Pipeline is pending
Plugin Asset Update / Push assets to WordPress.org (push) Has been cancelled
Build Release / Build and Create Release (push) Has been cancelled
Build Release / Deploy to WordPress.org (push) Has been cancelled
ci/woodpecker/tag/woodpecker Pipeline was successful
v2.1.1
2025-04-13 14:57:31 +01:00
marcus 009b67c0cc Deduplicate asset storage and update documentation
ci/woodpecker/push/woodpecker Pipeline is pending
ci/woodpecker/tag/woodpecker Pipeline is pending
Plugin Asset Update / Push assets to WordPress.org (push) Has been cancelled
Build Release / Build and Create Release (push) Has been cancelled
Build Release / Deploy to WordPress.org (push) Has been cancelled
2025-04-13 14:49:29 +01:00
marcus eac794c54a Improve Choose Update Source feature based on feedback
ci/woodpecker/push/woodpecker Pipeline is pending
ci/woodpecker/tag/woodpecker Pipeline is pending
Plugin Asset Update / Push assets to WordPress.org (push) Has been cancelled
Build Release / Build and Create Release (push) Has been cancelled
Build Release / Deploy to WordPress.org (push) Has been cancelled
2025-04-13 14:27:26 +01:00
marcus 5e8da5d87b Improve Choose Update Source feature based on feedback
ci/woodpecker/push/woodpecker Pipeline is pending
ci/woodpecker/tag/woodpecker Pipeline is pending
Plugin Asset Update / Push assets to WordPress.org (push) Has been cancelled
Build Release / Build and Create Release (push) Has been cancelled
Build Release / Deploy to WordPress.org (push) Has been cancelled
2025-04-13 13:48:13 +01:00
marcus 3ebcaccf98 Add Choose Update Source feature
ci/woodpecker/push/woodpecker Pipeline is pending
ci/woodpecker/tag/woodpecker Pipeline is pending
Plugin Asset Update / Push assets to WordPress.org (push) Has been cancelled
Build Release / Build and Create Release (push) Has been cancelled
Build Release / Deploy to WordPress.org (push) Has been cancelled
2025-04-13 13:13:32 +01:00
marcus fda33746e5 Prepare release v2.1.1
ci/woodpecker/push/woodpecker Pipeline is pending
ci/woodpecker/tag/woodpecker Pipeline is pending
Build Release / Build and Create Release (push) Has been cancelled
Build Release / Deploy to WordPress.org (push) Has been cancelled
2025-04-13 05:49:21 +01:00
marcus 389dc98a03 Prepare release v2.1.0
ci/woodpecker/push/woodpecker Pipeline is pending
Plugin Asset Update / Push assets to WordPress.org (push) Has been cancelled
Build Release / Build and Create Release (push) Has been cancelled
Build Release / Deploy to WordPress.org (push) Has been cancelled
ci/woodpecker/tag/woodpecker Pipeline was successful
v2.1.0
2025-04-13 05:38:01 +01:00
marcus c00bef482c Version 2.0.13: Fixed critical error with Git Updater integration and cleaned up codebase 2025-04-13 04:47:24 +01:00