Editor preferences are saved in database every time the Settings sidebar opens/closes #61384
Labels
[Package] Preferences
/packages/preferences
[Type] Bug
An existing feature does not function as intended
Description
I wonder if this is a bug because a request to
/wp/v2/users/me
is made every time the Settings sidebar opens/closes. It seems that it is not needed because every update on the preferences modal also triggers a request.Step-by-step reproduction instructions
/wp/v2/users/me
is made every time to save the preferencesScreenshots, screen recording, code snippet
Click on the Settings icon to open or close the sidebar and verify a request is made:
Screen.Recording.2567-05-06.at.09.16.37.mov
Change any preferences from the modal and verify a request is also made:
Screen.Recording.2567-05-06.at.09.21.22.mov
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: