[wp-trac] [WordPress Trac] #63341: siteurl and home fields not disabled in wp-admin/options.php when defined in wp-config.php
WordPress Trac
noreply at wordpress.org
Thu Apr 24 10:35:31 UTC 2025
#63341: siteurl and home fields not disabled in wp-admin/options.php when defined
in wp-config.php
--------------------------------+---------------------------------------
Reporter: dilipbheda | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Options, Meta APIs | Version:
Severity: normal | Keywords: has-patch has-screenshots
Focuses: administration |
--------------------------------+---------------------------------------
When visiting the `wp-admin/options.php` page, the `siteurl` and `home`
fields remain editable, even if the `WP_SITEURL` and `WP_HOME` constants
are defined in `wp-config.php`.
**Expected Behavior:**
These fields should be disabled (read-only) just like they are on the
**General Settings** page (`wp-admin/options-general.php`) when the
constants are defined.
**References:**
- Current behavior on `options.php`: https://tinyurl.com/2b5aw5jd
- Expected behavior on General Settings page: https://tinyurl.com/26yfco7u
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63341>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list