Make WordPress Core


Ignore:
Timestamp:
12/18/2018 10:45:16 PM (8 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.

.com/WordPress/twentynineteen/pull/47

.com/WordPress/twentynineteen/pull/661

Props kjellr, allancole, dimadin, westonruter, khleomix, grapplerulrich, iCaleb, desrosj.

Merges [44196], [44199], and [44201-44202] into trunk.

Fixes #45424.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/wp-content/themes/twentynineteen/header.php

    r44298 r44305  
    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.