Skip to content

Fix: Ignore empty `photo` properties

Jamie Tanna requested to merge defect/reply into develop

Due to the way that www-editor sends the photo property as an empty string, and the previous parsing logic, this would provide the photo property as an empty string, which then fails validation.

We instead do not want to populate the photo property if it doesn't exist.

Closes #302 (closed).

Plus some extra validation in PostTypeDiscoverer

Merge request reports