[wp-trac] [WordPress Trac] #56665: Persisted preferences: User meta context property incorrectly configured
WordPress Trac
noreply at wordpress.org
Tue Sep 27 15:22:02 UTC 2022
#56665: Persisted preferences: User meta context property incorrectly configured
--------------------------+-----------------------------
Reporter: talldanwp | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.1
Component: Editor | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
--------------------------+-----------------------------
Changes (by SergeyBiryukov):
* owner: (none) => SergeyBiryukov
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"54329" 54329]:
{{{
#!CommitTicketReference repository="" revision="54329"
Users: Correctly pass the `context` property for persisted preferences.
The user meta `context` property in
`wp_register_persisted_preferences_meta()` was incorrectly configured. It
should be part of the `schema` array, not the `show_in_rest` array.
Follow-up to [54182].
Props talldanwp, dd32.
Fixes #56665. See #56467.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56665#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list