Opened 18 years ago
Closed 18 years ago
#6423 closed defect (bug) (fixed)
Implicit restriction on the name of ROOT directory
| Reported by: | nh7a | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.5 |
| Component: | General | Version: | 2.5 |
| Severity: | blocker | Keywords: | |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
A patch to the bug