[wp-trac] [WordPress Trac] #60401: Use $length in rand_long_str() documentation (was: Improve inline document)

WordPress Trac noreply at wordpress.org
Sat Mar 2 11:36:32 UTC 2024


#60401: Use $length in rand_long_str() documentation
------------------------------+------------------------------
 Reporter:  harsh175          |       Owner:  (none)
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |     Focuses:  docs
------------------------------+------------------------------
Changes (by sabernhardt):

 * component:  General => Build/Test Tools


Comment:

 Thanks for the report and patch!

 [50265] added that documentation. The variable name was rather confusing
 because the `rand_str()` function uses `$len` and `rand_long_str()` uses
 `$length`.

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


More information about the wp-trac mailing list