[wp-trac] [WordPress Trac] #55667: Tests_Basic::test_security_md() truncates the `.0` for `x.1` current version releases.

WordPress Trac noreply at wordpress.org
Tue May 3 18:26:16 UTC 2022


#55667: Tests_Basic::test_security_md() truncates the `.0` for `x.1` current
version releases.
------------------------------+---------------------
 Reporter:  hellofromTonya    |       Owner:  (none)
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  6.1
Component:  Build/Test Tools  |     Version:  5.4
 Severity:  normal            |  Resolution:
 Keywords:  needs-patch       |     Focuses:
------------------------------+---------------------

Comment (by hellofromTonya):

 See the problem in action here https://3v4l.org/928vf.

 Using `number_format()` resolves the issue https://3v4l.org/M7Cb2.

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


More information about the wp-trac mailing list