-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove PHP 5.2 support #264
base: main
Are you sure you want to change the base?
Conversation
Yeah, that's one of the things I'll keep for 3.0, since strictly speaking, it's breaking binary compatibility. There are some other deprecations that need to be removed, but I don't want to do that in point-release as per SemVer. |
For 3.0 here is a document on waving good by to PHP 4 and 5. |
Thanks. I'm not keen to inject a container for WordPress-derived constants (i.e. plugin file/path). What's the supposed purity benefit over a namespaced constant? (Over global constants, sure.) |
:) I won't punish you if you don't follow every line of this document. |
One thing I've spotted: |
That's by design. It checks the requirements and sets up the controller instance for starting up the plugin components (which each set up their appropriate actions). The components are self-contained, so for example the |
Yes that is an OOP thing. "Cannot do that" means you go against WordPress when starting after things before |
Not really, the action setup is just delegated to the |
All right, this is not a boxing ring. 🥊 |
As long as WordPress is WordPress, everything will be a compromise 😅 That said, I agree with you in principle: It's much better to enforce API contracts on a technical level than depend on "good behavior". There are a few instances where the |
As per
avatar-privacy/avatar-privacy.php
Line 34 in 30026c9