diff --git a/wp-content/themes/twentynineteen/inc/template-functions.php b/wp-content/themes/twentynineteen/inc/template-functions.php index 301ac23116..6c5a96714e 100644 --- a/wp-content/themes/twentynineteen/inc/template-functions.php +++ b/wp-content/themes/twentynineteen/inc/template-functions.php @@ -35,7 +35,7 @@ add_filter( 'body_class', 'twentynineteen_body_classes' ); /** * Adds custom class to the array of posts classes. */ -function twentynineteen_post_classes( $classes, $class, $post_id ) { +function twentynineteen_post_classes( $classes, $css_class, $post_id ) { $classes[] = 'entry'; return $classes; diff --git a/wp-content/themes/twentysixteen/inc/template-tags.php b/wp-content/themes/twentysixteen/inc/template-tags.php index 005e5374c5..acb6c9089e 100644 --- a/wp-content/themes/twentysixteen/inc/template-tags.php +++ b/wp-content/themes/twentysixteen/inc/template-tags.php @@ -161,16 +161,16 @@ if ( ! function_exists( 'twentysixteen_excerpt' ) ) : * * @since Twenty Sixteen 1.0 * - * @param string $class Optional. Class string of the div element. Defaults to 'entry-summary'. + * @param string $css_class Optional. Class string of the div element. Defaults to 'entry-summary'. */ - function twentysixteen_excerpt( $class = 'entry-summary' ) { - $class = esc_attr( $class ); + function twentysixteen_excerpt( $css_class = 'entry-summary' ) { + $css_class = esc_attr( $css_class ); if ( has_excerpt() || is_search() ) : ?> -