Ticket #4334 (closed defect: fixed)

Opened 1 year ago

Last modified 9 months ago

Restructure wp-admin

Reported by: ryan Assigned to: ryan
Priority: normal Milestone: 2.3
Component: Administration Version: 2.3
Severity: normal Keywords: wp-admin includes
Cc:

Description

#2525 restructured wp-includes. Let's do the same for wp-admin.

  • Move includes to wp-admin/includes
  • Leave template files in wp-admin
  • Break admin-functions.php into smaller files
  • Organize include files along DB and template helper lines as in #2525

Change History

05/25/07 02:02:21 changed by ryan

Possible wp-admin/includes

  • schema.php
  • upgrade.php
  • post.php
  • bookmark.php
  • taxonomy.php
  • comment.php
  • plugin.php
  • user.php
  • ...

And corresponding foo-template.php as needed.

05/25/07 03:20:28 changed by rob1n

+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?

05/25/07 07:16:22 changed by ryan

(In [5542]) Admin includes reorg. see #4334

05/25/07 07:25:53 changed by ryan

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.

05/25/07 09:53:16 changed by ryan

(In [5545]) Fix include path. see #4334

05/25/07 14:22:51 changed by rob1n

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?

05/25/07 23:36:34 changed by ryan

[5549] fixes a typo

05/25/07 23:36:58 changed by ryan

Oops, ignore that. Wrong ticket.

06/02/07 00:37:52 changed by rob1n

(In [5631]) Move JavaScript? to js subfolder, and CSS to css subfolder. see #4334

06/02/07 00:40:23 changed by rob1n

(In [5632]) Whoops, forgot about wp-login.php. see #4334

06/02/07 00:42:32 changed by rob1n

(In [5634]) Revert some links. see #4334

06/02/07 00:43:40 changed by rob1n

(In [5635]) Ugh. We need to consolidate these headers. see #4334

06/08/07 00:19:36 changed by rob1n

(In [5665]) Update CSS paths. see #4334

08/29/07 01:48:28 changed by Nazgul

  • status changed from new to closed.
  • resolution set to fixed.

Let's call this fixed for 2.3.