Serializes the description field after apply filters#68
Serializes the description field after apply filters#68sathyapulse wants to merge 1 commit intoAutomattic:developfrom
Conversation
|
Hi @sathyapulse, thanks for this. Can you provide more detail about the issue this resolves please, including exact steps to reproduce? |
|
@philipjohn It doesn't solve any issues but improvement. It's just to avoid additional code from the developers end as well as make sure the data is serialised while saving to database. Let's say we are extending the fields with the action hook I think it will not create any issues with the existing code of developers since the we are using |
I think you're right, but it still feels like this should be considered to have the potential to be a breaking change, and so would need to wait for a major release. |
The
zoninator_insert_zoneandzoninator_update_zonehook sends the serialized description data and it requires additional code to unserialize, add additional fields and serialize data again. The PR addresses the problem by serializing the data after theapply_filtershook so that we can make sure the data is serialized always.