Automattic / zoninator

Curation made easy! Create "zones" then add and order your content straight from the WordPress Dashboard.
https://wordpress.org/plugins/zoninator/
GNU General Public License v2.0
85 stars 50 forks source link

Move zoninator class out of the root file #113

Open GaryJones opened 2 months ago

GaryJones commented 2 months ago

Classes should be in their own file, and not mixed with procedural code, as is the case with the plugin root file.

This could be a breaking change, if someone was including the unactivated plugin root file to get access to the class, but this seems unlikely, especially as the same root file already contains a function for getting an instance of the class.

Besides, we're still on major version 0.x.y, so breaking changes are allowed.