[wp-trac] [WordPress Trac] #12880: Reorganize Directory Structure in /wp-includes
WordPress Trac
wp-trac at lists.automattic.com
Tue Apr 6 23:25:45 UTC 2010
#12880: Reorganize Directory Structure in /wp-includes
--------------------------+-------------------------------------------------
Reporter: mikeschinkel | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Unassigned
Component: General | Version: 3.0
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
Comment(by nacin):
I don't see this happening, personally, and I'm -1 on spawning new
folders. More folders for example would make my own workflow worse, as I'd
constantly be navigating up and down trees -- both in file->open dialog
boxes and the command line. It's a matter of preference, and the status
quo will probably win out.
That said, most things are already prefixed with class-, feed-, ms-,
pluggable-, default-. Then there is the -template suffix, which makes a
lot of sense as generally you're looking for the object being templated
first, not the templates in general.
There are some improvements to be made, but we can't do it with any files
that aren't included by wp-load as then you'll have backwards
compatibility issues and you'll need back compat files (see also, rss-
functions and registration-functions).
One such improvement would be breaking out classes.php into multiple
files, such as class.walkers, class.wp, class.wp-error, etc. I don't see
anything else that really stands out, other than perhaps finally removing
rss-functions, which is a back compat file of rss.php, which in turn is
deprecated.
Also, renaming files is a pain when you want to svn blame something. I've
seen too many changesets years ago of files getting shifted around --
there have been a good three or four solid reshufflings -- while looking
back for things. We're in a good, manageable position now.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12880#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list