Fix error raised when post resource lacks meta
Fix error raised when post resource lacks meta

I noticed the error when adding a new Jetpack Testimonial post.

Also switch to from classic functions to arrow functions.

ampproject/amp-toolbox-php,ampproject/amp-toolbox-php