[wp-trac] [WordPress Trac] #8089: Move most root files to
wp-includes and set an include internally
WordPress Trac
wp-trac at lists.automattic.com
Fri Nov 7 13:34:58 GMT 2008
#8089: Move most root files to wp-includes and set an include internally
-------------------------+--------------------------------------------------
Reporter: sc0ttkclark | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone: 2.8
Component: General | Version: 2.8
Severity: normal | Keywords:
-------------------------+--------------------------------------------------
This long list of wp-*.php files is a bit big. Isn't it time that we have
those run through index.php too? Why do all of these files have to be in
the root directory? If there's a reason, why not put all the files that
are in the wp-includes there too?
So I say:
1. Move files to wp-includes (if there's any conflict in naming, then of
maybe have a subdir for these root files)
2. WordPress internal linking should be set to include these files upon
calling them (if permalinks turned on), otherwise all calls to them should
be through index.php/wp-login/ etc and all page/post names with whese wp-*
should be 'banned'
3. Then we have 6 root files/folders in the installation: wp-admin,wp-
content,wp-includes,index.php,license.txt,readme.html
So there's gotta be a way to do this, and I'm giving the 'go' person the
preliminary idea. I'm going to make a plugin that does just this, but I'm
sure my code won't be very useful since it's probably not the way you'll
end up doing it.
--
Ticket URL: <http://trac.wordpress.org/ticket/8089>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list