You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since 6.6, you can now edit the values of binded custom fields in the editor. If you do that, you send all the default values to de REST API. Fortunately, those values are not saved in DB.
Screenshot of what is being sent when I only edited the pokemon_typeto "Water Type"
The rest of the fields are not connected in any block of the post.
Removing this from the fields can save some bytes sent to the server, meta fields can grow exponentially with plugins installed.
Since 6.6, you can now edit the values of binded custom fields in the editor. If you do that, you send all the default values to de REST API. Fortunately, those values are not saved in DB.
Removing this from the fields can save some bytes sent to the server, meta fields can grow exponentially with plugins installed.
Can you clarify what the issue needs to be solved here? The screenshot included shows the legacy meta boxes panel enabled, so it isn't clear if that applies to that interface or to the Save functionality triggered after changes were applied through the connected block attribute. If I follow correctly, everything works as intended, but the amount of the data sent could be reduced by skipping non-modified meta values, right?
The legacy meta boxes panel in this case does not apply. Is only the save functionality after editing a connected field.
Yes, everything works, but, as you mention, we can reduce the data sent doing what you mention.
cbravobernal
changed the title
Block Bindings: Editing values is sending all default ones to the rest API.
Block Bindings: Editing values is sending all custom meta to the rest API, even if they have not been modified.
Aug 22, 2024
cbravobernal
changed the title
Block Bindings: Editing values is sending all custom meta to the rest API, even if they have not been modified.
Block Bindings: Send only edited values to the POST API requrest
Aug 22, 2024
Description
Since 6.6, you can now edit the values of binded custom fields in the editor. If you do that, you send all the default values to de REST API. Fortunately, those values are not saved in DB.
Screenshot of what is being sent when I only edited the
pokemon_type
to "Water Type"The rest of the fields are not connected in any block of the post.
Removing this from the fields can save some bytes sent to the server, meta fields can grow exponentially with plugins installed.
Step-by-step reproduction instructions
Environment info
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
The text was updated successfully, but these errors were encountered: