[wp-trac] [WordPress Trac] #42140: Incorrect use of plural in class-wp-customize-themes-section.php

WordPress Trac noreply at wordpress.org
Mon Feb 15 10:00:34 UTC 2021


#42140: Incorrect use of plural in class-wp-customize-themes-section.php
-------------------------------------------------+-------------------------
 Reporter:  tobifjellner                         |       Owner:
                                                 |  SergeyBiryukov
     Type:  defect (bug)                         |      Status:  reviewing
 Priority:  normal                               |   Milestone:  5.7
Component:  Customize                            |     Version:  4.9
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch dev-feedback needs-        |     Focuses:  javascript
  testing                                        |
-------------------------------------------------+-------------------------

Comment (by poena):

 You were right, the text string was duplicated.

 Would
 [https://core.trac.wordpress.org/attachment/ticket/42140/42140.4.patch
 42140.4] work?
 What I am attempting to do is use {{{{{ data.count }}}}} as the number
 inside the {{{_n()}}},
 and move the {{{<span class="theme-count">}}} so that the complete text
 string is inside it,
 removing the duplication.

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


More information about the wp-trac mailing list