[wp-trac] [WordPress Trac] #26759: New Generic Sanitize Functions for Core

WordPress Trac noreply at wordpress.org
Mon Mar 17 17:07:29 UTC 2014


#26759: New Generic Sanitize Functions for Core
-----------------------------+------------------------------
 Reporter:  georgestephanis  |       Owner:
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Formatting       |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:  dev-feedback     |     Focuses:
-----------------------------+------------------------------

Comment (by norcross):

 I agree that it could turn into a rabbit-hole scenario, but some base-
 level ones that are common usage should be considered. even some basic
 ones that strip all letters or all numbers would save the oft annoying
 process of writing regex (which considering there are multiple ways to get
 the same result, breeds inconsistency)

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


More information about the wp-trac mailing list