WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/14/2018 09:50:16 PM (2 years ago)
Author:
desrosj
Message:

Twenty Nineteen: Fixes and improvements.

This commit brings over several changes that occurred upstream in the theme’s GitHub repository into core.

Props khleomix, grapplerulrich, iCaleb, kjellr, allancole.

See #45424.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/5.0/src/wp-content/themes/twentynineteen/header.php

    r44187 r44199  
    3838
    3939                        $classes = 'entry-header';
    40                         if ( ! empty( $discussion ) && count( $discussion->responses ) > 0 ) {
     40                        if ( ! empty( $discussion ) && absint( $discussion->responses ) > 0 ) {
    4141                            $classes = 'entry-header has-discussion';
    4242                        }
Note: See TracChangeset for help on using the changeset viewer.