[wp-trac] [WordPress Trac] #34893: Improve Customizer setting validation model

WordPress Trac noreply at wordpress.org
Mon May 16 21:11:14 UTC 2016


#34893: Improve Customizer setting validation model
-------------------------------------------------+-------------------------
 Reporter:  westonruter                          |       Owner:
     Type:  enhancement                          |  westonruter
 Priority:  high                                 |      Status:  accepted
Component:  Customize                            |   Milestone:  4.6
 Severity:  normal                               |     Version:  3.4
 Keywords:  has-patch needs-testing needs-unit-  |  Resolution:
  tests has-screenshots ux-feedback              |     Focuses:  javascript
-------------------------------------------------+-------------------------

Comment (by ocean90):

 [attachment:34893.8.diff]:
 `sprintf( _n( 'There is %d invalid setting.', 'There are %d invalid
 settings.', $invalid_count ), $invalid_count );`
 should be
 `sprintf( _n( 'There is %s invalid setting.', 'There are %s invalid
 settings.', $invalid_count ), number_format_i18n( $invalid_count ) );`

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


More information about the wp-trac mailing list