split wp-includes/classes.php into single-class files
|Reported by:||dd32||Owned by:||nacin|
Right now, wp-includes/classes.php contains a selection of classes which WordPress uses internally. I'd like to see the file broken up into a few subclasses to ease integration with other software's which may use parts of the WordPress core.
Whilst i realise there are not too many there, the files 1600 lines long, It takes a bit to dig through it sometimes.. and like i said, it'd help integration with other software (Primarily thinking of the WP_Error stuff there)
 => WP  => WP_Error  => Walker  => Walker_Page  => Walker_PageDropdown  => Walker_Category  => Walker_CategoryDropdown  => WP_Ajax_Response
The Walkers could all go in a single file.. the ajax response and WP could stay as one, and the error put into its own file too..
Just thoughts from me, seeking feedback from others.
(My whole reasoning for this ticket, is that i was hoping not to duplicate the code too much for just wanting to include WP_Error in a semi-standalone script which utilises a few of WordPress's helpful files)
Change History (12)
- Milestone changed from Awaiting Triage to Future Release
- Owner set to nacin
- Status changed from new to accepted
- Keywords dev-feedback removed
- Milestone changed from Future Release to 3.1