[wp-trac] [WordPress Trac] #55941: Empty string wrongly translated to '0'

WordPress Trac noreply at wordpress.org
Tue Jun 7 17:57:55 UTC 2022


#55941: Empty string wrongly translated to '0'
--------------------------+------------------------------
 Reporter:  Chouby        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  I18N          |     Version:  2.8
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by Chouby):

 > - null is the same as ''
 > - false and '0' are the same as 0
 Sorry, I messed with formatting and don't know how to edit the ticket.
 This must be read:
 - `null` is the same as `''`
 - `false` and `'0'` are the same as `0`

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


More information about the wp-trac mailing list