[wp-trac] [WordPress Trac] #39660: Missing singular placeholder, needed for some languages on comments.php

WordPress Trac noreply at wordpress.org
Fri Sep 8 04:39:24 UTC 2017


#39660: Missing singular placeholder, needed for some languages on comments.php
---------------------------+-----------------------------
 Reporter:  bplv           |       Owner:  SergeyBiryukov
     Type:  enhancement    |      Status:  reviewing
 Priority:  normal         |   Milestone:  4.9
Component:  Bundled Theme  |     Version:  4.7.1
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:
---------------------------+-----------------------------

Comment (by xkon):

 Updated the patch to .2 to address this as well. Tested also all the
 themes again and it seems fine here.

 Replying to [comment:15 SergeyBiryukov]:
 >
 > Just noticed `get_comments_number()` returns a string, and Twenty
 Sixteen compares it to an integer, which doesn't work as expected. Twenty
 Seventeen does it correctly.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39660#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list