Return WP_Error instead of array of empty objects for a revisions permissions error.

Expanding on #251.