[wp-trac] [WordPress Trac] #55194: wp_rand( 0, 0) result in random integer

WordPress Trac noreply at wordpress.org
Tue Jun 7 12:01:24 UTC 2022


#55194: wp_rand( 0, 0)  result in random integer
-------------------------------------------------+-------------------------
 Reporter:  mlajo                                |       Owner:  audrasjb
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  6.1
Component:  General                              |     Version:  5.9
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests needs-dev-  |     Focuses:  docs
  note                                           |
-------------------------------------------------+-------------------------

Comment (by SergeyBiryukov):

 In [changeset:"53477" 53477]:
 {{{
 #!CommitTicketReference repository="" revision="53477"
 Tests: Use more descriptive names for `wp_rand()` test methods.

 This aims to clarify the intention of the tests.

 Follow-up to [53473].

 Props mlajo, costdev, acoulombe, azouamauriac, swissspidy, tobifjellner,
 peterwilsoncc, audrasjb, marekdedic, SergeyBiryukov.
 See #55194.
 }}}

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


More information about the wp-trac mailing list