Opened 17 years ago
Closed 17 years ago
#6423 closed defect (bug) (fixed)
Implicit restriction on the name of ROOT directory
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 2.5 | Priority: | normal |
Severity: | blocker | Version: | 2.5 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
There is an implicit restriction on the name of ROOT directory for Wordpress due to a simple bug in wp-includes/classes.php.
For example, if your ROOT directory is, say, "/en" and Permalinks configuration is other than default (so that Rewrite check will happen), you cannot use Input Field Settings of cforms because $req_uri, which the AJAX URL used by cforms, say, /en/wp-content/plugins/cforms/js/include/textfield.php, won't match to $self, which will mistakenly be wp-contt/plugins/cforms/js/include/textfield.php. Notice wp-contt should be wp-content.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
A patch to the bug