Fixed wordpress REST api by adding author