[wp-trac] [WordPress Trac] #47820: should update_option() check "manage_options" capability?
WordPress Trac
noreply at wordpress.org
Sun Sep 15 01:29:01 UTC 2019
#47820: should update_option() check "manage_options" capability?
-------------------------------------------------+-------------------------
Reporter: lllor | Owner:
| SergeyBiryukov
Type: feature request | Status: closed
Priority: normal | Milestone: 5.3
Component: Options, Meta APIs | Version:
Severity: normal | Resolution: fixed
Keywords: good-first-bug has-patch dev- | Focuses: docs
feedback |
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"46120" 46120]:
{{{
#!CommitTicketReference repository="" revision="46120"
Docs: Clarify in `update_option()` description that it's plugin author's
responsibility to check the current user's capabilities before saving any
option changes.
Props dinhtungdu, lllor.
Fixes #47820.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47820#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list