[wp-meta] [Making WordPress.org] #3156: WordCamp Base theme: Add missing singular placeholder in comments.php

Making WordPress.org noreply at wordpress.org
Thu Sep 28 19:11:32 UTC 2017


#3156: WordCamp Base theme: Add missing singular placeholder in comments.php
-------------------------------------+---------------------
 Reporter:  mp518                    |       Owner:  mp518
     Type:  defect                   |      Status:  closed
 Priority:  normal                   |   Milestone:
Component:  WordCamp Site & Plugins  |  Resolution:  fixed
 Keywords:  has-patch                |
-------------------------------------+---------------------

Comment (by coreymckrill):

 In [changeset:"5973"]:
 {{{
 #!CommitTicketReference repository="" revision="5973"
 WordCamp Base: Make sure comment number comparison works as expected

 From @sergeybiryukov:

 > `get_comments_number()` returns a numeric string, strictly comparing
 > it to an integer doesn't work as expected

 This emulates Twenty Seventeen, which handles the comparison correctly.

 Refs #3156
 }}}

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/3156#comment:6>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list