[wp-trac] [WordPress Trac] #12670: Non-standard htaccess filename breaks mod-rewrite setup
WordPress Trac
wp-trac at lists.automattic.com
Fri Mar 26 01:11:33 UTC 2010
#12670: Non-standard htaccess filename breaks mod-rewrite setup
----------------------------+-----------------------------------------------
Reporter: thedotproduct | Owner: ryan
Type: enhancement | Status: assigned
Priority: normal | Milestone: Future Release
Component: Administration | Version: 2.9.2
Severity: normal | Keywords: needs-patch
----------------------------+-----------------------------------------------
Changes (by nacin):
* keywords: has-patch => needs-patch
Comment:
Three things:
I'm pretty sure we use .htaccess in more places than that. A very quick
grep finds 33 matches in five files, though many of those are in strings,
variable names, or inline documentation. (Strings probably could use an
edit in this case.)
We may want to use a filter instead of a constant, as we have been
gravitating in that direction in general. Constant IMO probably makes more
sense here, but it's just a thought.
If we do use a constant, though, then we would add it to default-
constants.php (see syntax/examples there) and allow it to be optionally
set first in wp-config.php. Among other things, wp-config.php is not
overridden or touched in upgrades, so your constant would be unavailable
to existing installs.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12670#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list