[wp-trac] [WordPress Trac] #2504: Split up post.php
WordPress Trac
wp-trac at lists.automattic.com
Fri Feb 24 00:09:41 GMT 2006
#2504: Split up post.php
----------------------------+-----------------------------------------------
Id: 2504 | Status: new
Component: Administration | Modified: Fri Feb 24 00:09:41 2006
Severity: normal | Milestone: 2.1
Priority: normal | Version: 2.0.1
Owner: ryan | Reporter: ryan
----------------------------+-----------------------------------------------
post.php does too much. It serves the create and edit forms for posts and
pages and dispatches actions for posts, pages, and comments. Let's break
it up into multiple files.
* comment.php - Handle comment actions.
* page.php - Handle page actions and page edit form.
* post-new.php - New post form.
* post.php - Handle post actions and post edit form.
We might want to have post-edit.php and page-edit.php for handling the
edit forms, but since this currently consists of simply including the
forms from other files, it's not a big deal.
--
Ticket URL: <http://trac.wordpress.org/ticket/2504>
WordPress Trac <http://wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list