Skip to content

Add PSR-4 autoloader for plugin namespaces#426

Merged
JLG-WOCFR-DEV merged 1 commit intomainfrom
codex/fix-class-not-found-error-in-blc-plugin
Oct 19, 2025
Merged

Add PSR-4 autoloader for plugin namespaces#426
JLG-WOCFR-DEV merged 1 commit intomainfrom
codex/fix-class-not-found-error-in-blc-plugin

Conversation

@JLG-WOCFR-DEV
Copy link
Owner

Summary

  • add a lightweight PSR-4 autoloader for the JLG\BrokenLinks namespace inside the plugin
  • bootstrap the autoloader during plugin loading so scanner classes can be resolved in WordPress

Testing

  • php -l liens-morts-detector-jlg/includes/autoload.php
  • php -l liens-morts-detector-jlg/liens-morts-detector-jlg.php

https://chatgpt.com/codex/tasks/task_e_68f505bbd6ac832eb72b27efbbc47141

@JLG-WOCFR-DEV JLG-WOCFR-DEV merged commit 7c56c29 into main Oct 19, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant