Closed nielslange closed 3 years ago
Is there an advantage to requiring lower versions of WordPress?
Not at all. It's simply that the current information is incorrect as the plugin does not Requires at least: 3.8
, but Requires at least: 2.9
, given the used functions. It's not intention to encourage anyone to downgrade their WordPress version.
What happens if changes are made to the plugin down the road, would that significantly increase the amount of testing required?
I'd say it would and I plan to add both unit and e2e tests to this plugin, to detect problems automatically. Or did you mean something different?
I'd say it would and I plan to add both unit and e2e tests to this plugin, to detect problems automatically. Or did you mean something different?
I think when you add support for earlier versions of WP it might make it more complicated down the road. It would be like saying "Supports IE 7" in a plugin - you're sort of committing to that and then dropping support later might be more of a burden.
For example, if you write Unit Tests you would need to make sure your Unit Tests work with WP 2.9 all the way to now, which could be a lot more work vs. the small potential reward.
For example, if you write Unit Tests you would need to make sure your Unit Tests work with WP 2.9 all the way to now, which could be a lot more work vs. the small potential reward.
Yeah, totally agree with this. I think supporting two or three latest versions of WP is sufficient. For example, Jetpack supports the latest WP core major version and one older major version. At the moment, it supports only 5.7 and 5.6 https://wordpress.org/plugins/jetpack/
I think Woo does something similar but with more older WP core versions - https://wordpress.org/plugins/woocommerce/
Thanks for your thoughts, @htdat and @mikeyarce. I haven't seen it this way and just looked up how Jetpack, WooCommerce and Yoast are showing these informations. This is what they show:
Jetpack:
- Requires at least: 5.6 - Requires PHP: 5.6 - Tested up to: 5.7 |
WooCommerce:
- Requires at least: 5.4 - Requires PHP: 7.0 - Tested up to: 5.7 |
Yoast:
- Requires at least: 5.6 - Requires PHP: 5.6.20 - Tested up to: 5.7 |
I'll close this issue for now and will adjust the version numbers once we can create a new release. Then, I'll bump the tested and required versions up.
Closing this issue for now based on the previous discussions.
Closes #13
Change
Update WordPress version numbers for
Requires at least
andTested up to
.Steps to test
Hide Post
checkbox is visible in the publish section on the post edit pagepost_submitbox_misc_actions
was addedHide Post
checkbox is still visiblepost_submitbox_misc_actions
was addedHide Post
checkbox is no longer visibleNote
The
Tested up to
cannot be bumped to 5.7, as the plugin does not support Gutenberg currently. Issue #10 had been created for that, and I'm already working on an update.