Closed JeremyDunn closed 9 years ago
Thanks for the PR!
One question: the changes are inside a pull function, but the PR description references "ingesting" (a/k/a/ - pushing) a story. Just a typo?
By ingesting I just mean it's taking in (pulling) the story from the API into Wordpress.
Gotcha. FWIW, "ingest" is the term that NPR uses internally (and, to a lesser degree, externally) to describe pushing content to the API, even though there are much better words we could use; push, for example.
Hence the confusion.
OK. Looks good, though I'm leery of merging it as-is, since it contains PHP short-array syntax. Adding those few line would automatically mean that the plugin would PHP 5.4+.
I can make the change manually, unless you want to do it and keep the whole process in this PR.
I've amended my commit to use the older array syntax.
Hmmm ... I still see the sam syntax in https://github.com/npr/WP-DS-NPR-API/pull/6/files
So sorry, I replaced one array and not the other.
Thanks very much for the contribution. Most appreciated!
Sets the post author when ingesting story if user exists in system (by nickname).