Opened 15 years ago
Closed 15 years ago
#17898 closed defect (bug) (fixed)
Unable to log in when WP_SITEURL ends with a slash
| Reported by: | xknown | Owned by: | ryan |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.3 |
| Component: | General | Version: | |
| Severity: | minor | Keywords: | has-patch commit 3.3-early |
| Cc: | Focuses: |
Description
By mistake I added a slash when defining the WP_SITEURL in wp-config.php.
define('WP_SITEURL', 'http://localhost/wp-git/');
The _config_wp_siteurl function does not strips the slash when this constant is defined.
Attachments (1)
Change History (5)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
untrailingslashit WP_SITEURL and WP_SITEHOME