diff --git a/functions.php b/functions.php index f64e0d45bd..f1c048fa4f 100644 --- a/functions.php +++ b/functions.php @@ -126,13 +126,14 @@ function _s_widgets_init() { * Note that this must only be called after the parse_query action. * * @link https://github.com/Automattic/amp-wp + * @return bool Is AMP endpoint (and AMP plugin is active). */ function _s_is_amp() { return function_exists( 'is_amp_endpoint' ) && is_amp_endpoint(); } /** - * Detemrine whether amp-live-list should be used for the comment list. + * Determine whether amp-live-list should be used for the comment list. * * @return bool Whether to use amp-live-list. */ @@ -155,7 +156,7 @@ function _s_styles() { /** * Enqueue scripts. * - * This short-circuits in AMP because custom scripts are not allowed. There is are AMP equivalents provided elsewhere. + * This short-circuits in AMP because custom scripts are not allowed. There are AMP equivalents provided elsewhere. * * navigation: * In AMP the :focus-within selector is used to keep submenus displayed while tabbing, diff --git a/header.php b/header.php index 4cbc80bb69..18bad15ba1 100644 --- a/header.php +++ b/header.php @@ -44,7 +44,9 @@ -