[wp-trac] [WordPress Trac] #64793: Options: Mask connector API keys on All Options screen
WordPress Trac
noreply at wordpress.org
Wed Mar 4 20:25:58 UTC 2026
#64793: Options: Mask connector API keys on All Options screen
------------------------------+-------------------------------
Reporter: jorgefilipecosta | Owner: jorgefilipecosta
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 7.0
Component: General | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
------------------------------+-------------------------------
Changes (by jorgefilipecosta):
* owner: (none) => jorgefilipecosta
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"61829" 61829]:
{{{
#!CommitTicketReference repository="" revision="61829"
Options: Mask connector API keys on All Options screen.
Connector API keys were visible in plain text on `wp-admin/options.php`
because it queries the database directly, bypassing the `get_option()`
filter that normally masks these values.
This adds masking for options matching the `connectors_*_api_key` pattern
using the existing `_wp_connectors_mask_api_key()` function, and disables
editing from this screen.
Props jorgefilipecosta, gziolo, ocean90.
Fixes #64793.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64793#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list