Files
wp-fix-plugin-does-not-exis…/composer.json
T
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

23 lines
748 B
JSON

{
"name": "wpallstars/wp-fix-plugin-does-not-exist-notices",
"description": "Adds missing plugins to the plugins list with a 'Remove Reference' link so you can permanently clean up invalid plugin entries and remove error notices.",
"type": "wordpress-plugin",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "Marcus Quinn",
"email": "6428977+marcusquinn@users.noreply.github.com"
}
],
"require": {
"php": ">=7.0",
"afragen/git-updater-lite": "^1"
},
"autoload": {
"psr-4": {
"WPALLSTARS\\FixPluginDoesNotExistNotices\\Admin\\": "admin/lib/",
"WPALLSTARS\\FixPluginDoesNotExistNotices\\": "includes/"
}
}
}