ArrayHQ / atomic-blocks-theme

34 stars 14 forks source link

Prevent AMP validation error for echoed comment ID #48

Closed nickcernis closed 4 years ago

nickcernis commented 4 years ago

The ID needs to passed to get_comment_link but not echoed in this context.

Prevents an “Unknown error (INVALID_AMP_PROTOCOL)” AMP validation error.

Props @westonruter for the report via email.

image (1)

mindctrl commented 4 years ago

Thanks for the report and the patch!