[wp-trac] [WordPress Trac] #11517: Make Admin more MVC-like
WordPress Trac
wp-trac at lists.automattic.com
Tue Aug 24 20:04:50 UTC 2010
#11517: Make Admin more MVC-like
----------------------------+-----------------------------------------------
Reporter: filosofo | Owner: filosofo
Type: enhancement | Status: new
Priority: normal | Milestone: 3.1
Component: Administration | Version: 3.0
Severity: normal | Keywords: needs-patch admin-theme
----------------------------+-----------------------------------------------
Changes (by scribu):
* milestone: Future Release => 3.1
Comment:
> Current Problems
> Currently, most of the admin markup is hard-coded, with controller,
model, and view all tangled up. Functionality used in multiple places is
replicated in each of those places. And there's no API for plugins to
generate admin-theme-specific markup, such as tables of data: for most
cases plugins are forced to replicate markup based on observation.
I've cleaned up most of that in #14579. Each list-type screen now has it's
own class for displaying the table and related elements. All the classes
descend from WP_Admin_Table, which can also be used by plugin authors to
make their own screens.
So, I'm going to call this fixed.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11517#comment:23>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list