Ticket #5546 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

Variable expansion in error message

Reported by: takayukister Assigned to: anonymous
Priority: normal Milestone: 2.5
Component: General Version: 2.5
Severity: trivial Keywords: has-patch
Cc:

Description

When you define $table_prefix as any string including invalid letter, like '-+*!testtest', in wp-config.php and access any page on the site, it shows error message "ERROR: -+*!testtest in wp-config.php can only contain numbers, letters, and underscores." Shouldn't it be "ERROR: $table_prefix in wp-config.php can only contain numbers, letters, and underscores."?

Attachments

wpsettings.diff (0.7 kB) - added by takayukister on 12/29/07 05:41:20.
single-quoted

Change History

12/29/07 05:41:20 changed by takayukister

  • attachment wpsettings.diff added.

single-quoted

12/29/07 05:52:32 changed by DD32

  • keywords set to has-patch.
  • milestone changed from 2.5 to 2.4.

12/29/07 09:10:51 changed by westi

  • status changed from new to closed.
  • resolution set to fixed.

(In [6522]) Use ' not " so we don't expand. Fixes #5546 props takayukister.