Fix a bug on return format - #59
Conversation
Network-media-library ignores the return format on the central media site.
|
Thanks for the report. NML shouldn't need to make any changes to the return value of this function when operating on the central media site. What's the exact issue that's occurring? Can you share a code example please? |
|
If I set "Image Object" as the Return Value for an image field, |
|
I can confirm this. The issue is that if a return format other than ID is used for a field fetched with https://github.com/humanmade/network-media-library/blob/master/network-media-library.php#L445 |
|
This was not the correct approach, so I'll close it. See #91 |
Network-media-library ignores the return format on the central media site.