Make WordPress Core

Opened 20 years ago

Closed 20 years ago

Last modified 12 years ago

#2504 closed defect (bug) (fixed)

Split up post.php

Reported by: ryan's profile ryan Owned by: ryan's profile ryan
Milestone: 2.1 Priority: normal
Severity: normal Version: 2.0.1
Component: Administration Keywords: post page comment edit
Focuses: Cc:

Description

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.

Change History (1)

#1 @ryan
20 years ago

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.