Opened 6 years ago
Closed 6 years ago
#4334 closed defect (bug) (fixed)
Restructure wp-admin
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 2.3 |
| Component: | Administration | Version: | 2.3 |
| Severity: | normal | Keywords: | wp-admin includes |
| Cc: |
Change History (14)
+3.5. The file structure (or lack thereof ;) ) has always irked me.
Also, would it be worth it to do pretty permalinks for the admin?
That breaks up admin-db and admin-functions into something more sane. I'm itching to reorg the template files too since there are almost seventy something inconsistenly named files in wp-admin. Two approaches to renaming.
- post/create.php
- post/edit.php
- post/form.php
- post/manage.php
- post/update.php
Or...
- post-create.php
- post-edit.php
- post-form.php
- post-manage.php
- post-update.php
I like the directory approach. It provides a pretty permalink style via its structure. The related js and css files can also go in the directory, reducing clutter in wp-admin.
I like the directory approach also. Keeps things sane.
Also, for pages that add_submenu_page() for one of those now-existent pages, should there be compatibility checks? Or is it going to be fine?
comment:10
rob1n — 6 years ago
comment:11
rob1n — 6 years ago
comment:12
rob1n — 6 years ago
comment:13
rob1n — 6 years ago
comment:14
Nazgul — 6 years ago
- Resolution set to fixed
- Status changed from new to closed
Let's call this fixed for 2.3.

Possible wp-admin/includes
And corresponding foo-template.php as needed.