WordPress.org

Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 7 years ago

#1954 closed defect (bug) (fixed)

creation of wp-config.php failes as of trailing blanks

Reported by: EdgarM Owned by:
Milestone: Priority: normal
Severity: trivial Version: 1.6
Component: Optimization Keywords: installation mysql user password connection
Focuses: Cc:

Description

When installing on a new environment, and there is no wp-config.php you offer to generate one.

The user has to insert all information about the db, which is quite simple.

But if he uses copy and paste, he will have sure a blank at the end or beginning of any string.

This should be trim()ed before trying to connect.

Easy to implement, easear for the user, at least if he is not a programmer.

regards
EdgarM

Change History (2)

comment:1 matt8 years ago

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

(In [3208]) Trim submitted values, fixes #1954

comment:2 anonymous7 years ago

  • Milestone 2.0 deleted

Milestone 2.0 deleted

Note: See TracTickets for help on using tickets.