wordpress-mobile/WordPress-iOS — pull request #2720 by koke (2014-11-04 09:48:57+00:00)
Title: Prevent crash on MediaService createMediaWithAsset

Uses existingObjectWithID instead of objectID, and checks that there's
an actual post to attach the media too.

If there is no post, `completion` will be called with a `nil` media
object.

Fixes #2719