[wp-trac] [WordPress Trac] #15089: wp_rand() can be asked for negative numbers but will never return them
WordPress Trac
wp-trac at lists.automattic.com
Mon Oct 11 02:24:31 UTC 2010
#15089: wp_rand() can be asked for negative numbers but will never return them
--------------------------+-------------------------------------------------
Reporter: hakre | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.0
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
wp_rand() has a min and a max parameter to address a wish which number to
get back.
Unfourtionatly the function is unable to handle negative numbers w/o
having this documented.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15089>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list