Commit Graph

6 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 f0c940bf49 Move admin-specific files to admin/lib directory and update references 2025-04-14 22:47:10 +01:00
marcus e4c70b5711 Version 2.2.2-stable - Cleanup and improvements 2025-04-14 22:28: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 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
2025-04-14 19:18:05 +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