Please sign in to comment.
General: Introduce `wp_unique_id()`, a PHP implementation of Undersco…
…re's `uniqueId` method. A static variable contains an integer that is incremented with each call. This number is returned with the optional prefix. As such the returned value is not universally unique, but it is unique across the life of the PHP process. Props westonruter, dlh. Merges  and  to the 5.0 branch. See #44883. git-svn-id: https://develop.svn.wordpress.org/branches/5.0@44407 602fd350-edb4-49c9-b593-d223f7449a82
- Loading branch information...
Showing with 48 additions and 0 deletions.