WordPress posts' custom fields are being duplicated.
This doesn't affect core functionality of Discover, as duplicate custom fields are just returned as an array of length > 1, and the plugin code already uses customField[0] to retrieve custom field values. While this is happening, changes should be made to the first entry of each unique custom field.
Only possible concern is if custom fields continue to be duplicated past 2 of each and GET requests' performance start to become affected, but this does not seem to be happening thus far.
Why
Not very sure. I vaguely remember it happening even before I first used this plugin with ArcLab WordPress, so a non-Grid Plus reason might be within the realm of possibility. Still logging it here to keep track. Need to investigate further.
Slack thread
What
WordPress posts' custom fields are being duplicated. This doesn't affect core functionality of Discover, as duplicate custom fields are just returned as an array of length > 1, and the plugin code already uses
customField[0]
to retrieve custom field values. While this is happening, changes should be made to the first entry of each unique custom field. Only possible concern is if custom fields continue to be duplicated past 2 of each and GET requests' performance start to become affected, but this does not seem to be happening thus far.Why
Not very sure. I vaguely remember it happening even before I first used this plugin with ArcLab WordPress, so a non-Grid Plus reason might be within the realm of possibility. Still logging it here to keep track. Need to investigate further.