[wp-trac] [WordPress Trac] #15384: wp-login.php refactor
WordPress Trac
wp-trac at lists.automattic.com
Mon Dec 20 13:03:22 UTC 2010
#15384: wp-login.php refactor
----------------------------+-----------------------------
Reporter: nacin | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: 3.2-early |
----------------------------+-----------------------------
Comment (by norbertm):
Another update.
The class is composed like this:
* "Dispatch" routes the request to the proper action.
* "Process" functions do the action processing and return errors if any.
They call "Do" functions to do the actual service level work.
* Finally the errors returned are passed to a "Render" function, which in
turn calls one or many "Output" functions to output the HTML.
The class is organized so that PHP code is at the top and HTML at the
bottom unless there's a better place for HTML.
It's still a work in progress but I'd love to get some feedback. What do
you think so far?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15384#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list