[wp-trac] [WordPress Trac] #10970: Remove 'siteurl' setting from options-general.php
WordPress Trac
noreply at wordpress.org
Wed Aug 9 19:16:11 UTC 2017
#10970: Remove 'siteurl' setting from options-general.php
-------------------------+-----------------------------
Reporter: scribu | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Permalinks | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: administration
-------------------------+-----------------------------
Comment (by desmith):
Re-uploading a patch I'd written for #41595. As a workaround, while TPTB
discuss a "proper" longer-term solution, this simply checks for a
define('WP_DISABLE_URLCHANGES') and, if so defined, hides those fields.
Suitable for use in wp-config.php, probably would work in a site-specific
plugin too (haven't tested that yet).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/10970#comment:37>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list