arclab-io / ALwordpressGridPlus

GNU General Public License v3.0
0 stars 0 forks source link

Duplication of posts custom fields #3

Open zenanana opened 3 years ago

zenanana commented 3 years ago

Slack thread

What

WordPress posts' custom fields are being duplicated. image 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.