Make WordPress Core

Opened 2 years ago

Last modified 2 years ago

#47954 new enhancement

Create a sanity check for siteurl and home changes — at Version 2

Reported by: Otto42 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Administration Keywords: has-patch
Focuses: ui, administration Cc:

Description (last modified by Otto42)

One of the most common problems is when people change the site URL fields on the settings general screen, without full understanding of what it means. It's a common enough problem that we've had documentation on ways to fix it for ages:


The idea is to enhance this field so as to perform some kind of sanity check before actually changing the fields. Health check exists, we have checks for plugin and theme changes to some degree. This could be checked as well.

Concept: Change the field, make an internal request, see if it fails, if so change them back, then warn the user with a "hey, this change seems like it's gonna break things real bad, are you really sure?" Or equivalent.

Second thought: when these change, email the admin user about them, with a revert link that will work no matter what.

I'm sure that other ideas exist as well.

Change History (2)

#2 @Otto42
2 years ago

  • Description modified (diff)
Note: See TracTickets for help on using tickets.