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

WordPress Trac noreply at wordpress.org
Mon Nov 6 15:23:53 UTC 2017


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

Comment (by ismail.elkorchi):

 @SergeyBiryukov I think that, instead of converting {{{1}}}  to {{{'1'}}},
 it is best to do the opposite by converting {{{get_comments_number()}}} to
 an integer using  {{{intval()}}}.

 See: http://php.net/manual/en/function.intval.php

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


More information about the wp-trac mailing list