Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#21657 closed enhancement (fixed)

When setup can't write to wp-config.php, the code textarea should be read only

Reported by: jblz Owned by: nacin
Milestone: 3.5 Priority: normal
Severity: normal Version:
Component: Upgrade/Install Keywords: has-patch
Focuses: Cc:


Users can accidentally overwrite or append erroneous text to the contents and then copy a bad wp-config. Making this field readonly would prevent that and bring the UI in line with the textarea.code elements in wp-admin/network.php.

Attachments (1)

21657.patch (638 bytes) - added by jblz 8 years ago.

Download all attachments as: .zip

Change History (3)

8 years ago

#1 @nacin
8 years ago

  • Milestone changed from Awaiting Review to 3.5

#2 @nacin
8 years ago

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

In [21869]:

If wp-config.php is not writable from setup-config, make the resulting textarea readonly. props jblz, fixes #21657.

Note: See TracTickets for help on using tickets.