[wp-trac] [WordPress Trac] #39778: Introduce wp_validate_uuid4

WordPress Trac noreply at wordpress.org
Fri Feb 3 17:17:46 UTC 2017


#39778: Introduce wp_validate_uuid4
---------------------------+-----------------------------
 Reporter:  jonathanbardo  |      Owner:
     Type:  enhancement    |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Customize      |    Version:  trunk
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 WordPress 4.7.0 introduced a new helper function that would help with the
 creation of UUID V4 for customizer transactions but never exposed a way to
 quickly validate UUID V4 without manually copying over the regex found in
 class-wp-customize-manager.php. I propose we should introduce an helper
 function to validate UUID so plugins can quickly generate and validate
 UUID v4.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39778>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list