#56665 closed defect (bug) (fixed)
Persisted preferences: User meta context property incorrectly configured
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 6.1 | Priority: | normal |
Severity: | normal | Version: | 6.1 |
Component: | Editor | Keywords: | has-patch |
Focuses: | Cc: |
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)
This ticket was mentioned in PR #3338 on WordPress/wordpress-develop by talldan.
2 years ago
#1
#2
@
2 years ago
- Owner set to SergeyBiryukov
- Resolution set to fixed
- Status changed from new to closed
In 54329:
SergeyBiryukov commented on PR #3338:
2 years ago
#3
Thanks for the PR! Merged in r54329.
Note: See
TracTickets for help on using
tickets.
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