Make WordPress Core

Opened 12 years ago

Closed 12 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's profile jblz Owned by: nacin's profile nacin
Milestone: 3.5 Priority: normal
Severity: normal Version:
Component: Upgrade/Install Keywords: has-patch
Focuses: Cc:

Description

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 12 years ago.

Download all attachments as: .zip

Change History (3)

@jblz
12 years ago

#1 @nacin
12 years ago

  • Milestone changed from Awaiting Review to 3.5

#2 @nacin
12 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.