[wp-trac] [WordPress Trac] #41595: Prevent end-users from modifying siteurl and home settings
WordPress Trac
noreply at wordpress.org
Wed Aug 9 17:07:20 UTC 2017
#41595: Prevent end-users from modifying siteurl and home settings
-------------------------+-----------------------------
Reporter: desmith | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.8.1
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
I've grown weary of manually fixing site databases after users see the
"WordPress Address (URL)" and "Site Address (URL)" boxes on the Options ->
General screen. This is a proposed one-liner fix. By defining the new
WP_DISABLE_URLCHANGES constant in wp-config.php, this hides those
settings.
Feel free to suggest new names for the constant, this is just the first
thing that came to mind.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41595>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list