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

WordPress Trac noreply at wordpress.org
Thu Jan 2 19:34:01 UTC 2014


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

 * cc: xoodrew@… (added)


Comment:

 I think personally I'd lean more toward creating one sanitize function
 with passed arguments instead of introducing a bunch of new functions.

 Of course there's give and take with both approaches, but overall I think
 having generic sanitization functionality in place would be helpful :)

--
Ticket URL: <http://core.trac.wordpress.org/ticket/26759#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list