elliotcondon/acf — pull request #133 by doginthehat (2013-08-09 04:51:57+00:00)
Title: Post Object field - Added temporary cache for choices using transient API

Had a massive performance issue when using the Post Object field in a repeater (full data set get loaded on each row).

Using a short-lived transient to cache the data fixes it.

The git diff looks a bit crazy but all it is wrapping the code in create_field with an attempt to load the dataset from a transient.