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

Consolidate includes and lib directories #114

Open GaryJones opened 2 months ago

GaryJones commented 2 months ago

The lib directory only contains zoninator_rest/, so while a previous theory might have been to extract this bundle of code into a package, it seems like it's relatively well coupled to only being used in the Zoninator plugin.

The includes/ directory contains four classes, two of which extend classes from the lib/ directory.

For ease of development and clarity of understanding, it would seem sensible to consolidate these into a src/ directory (along with the widget and Zoninator class files).