airesvsg / acf-to-rest-api-recursive

Get ACF fields recursively
43 stars 8 forks source link

Adds limit to post recursion when iterating through nested WordPress Posts #3

Open andrew-boyd opened 6 years ago

andrew-boyd commented 6 years ago

Our team ended up in a place where the recursion of this post could result in an infinite loop and take down the server. We're addressing it by storing the ID of WP_Post objects and then ensuring that we only iterate over them up to a set threshold (in our case, 1).

XjSv commented 5 years ago

Please Merge.

tretapey commented 4 years ago

I need this

Triloworld commented 4 years ago

Fix not working with type "Clone fields"