WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#15167 closed defect (bug) (fixed)

setting illegal_names to empty string causes an error in ms-options.php:150

Reported by: dvmorris Owned by:
Milestone: 3.1 Priority: normal
Severity: normal Version: 3.0.1
Component: Multisite Keywords: illegal_names
Focuses: Cc:

Description

When I create a new site, I see this on the ms-options.php page in the illegal_names field:

Warning: implode(): Invalid arguments passed in /path/to/wordpress/wp-admin/ms-options.php on line 150

When I set it as an empty string, the Warning message is displayed again, and it seems to save to the database again. If I set it to 'test' or something other than an empty string, it seems to work fine.

Change History (2)

comment:1 @nacin4 years ago

  • Milestone changed from Awaiting Review to 3.1

comment:2 @nacin4 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [15868]) Cast before implode. fixes #15167.

Note: See TracTickets for help on using tickets.