#56665 closed defect (bug) (fixed)
Persisted preferences: User meta context property incorrectly configured
| Reported by: | talldanwp | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.1 |
| Component: | Editor | Version: | 6.1 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
Originally mentioned to me by @dd32.
The user meta 'context' property for persisted preference is incorrectly configured. It should be part of the 'schema' array, but is incorrectly part of the 'show_in_rest' array:
https://github.com/WordPress/wordpress-develop/blob/trunk/src/wp-includes/user.php#L4986-L5010
Change History (3)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
The user meta 'context' property for persisted preference is incorrectly configured. It should be part of the 'schema' array, but is incorrectly part of the 'show_in_rest' array:
https://github.com/WordPress/wordpress-develop/blob/trunk/src/wp-includes/user.php#L4986-L5010
Trac ticket: https://core.trac.wordpress.org/ticket/56665