[wp-trac] [WordPress Trac] #34900: Improve unnecessary/false checks in sanitize_post_field()

WordPress Trac noreply at wordpress.org
Tue Dec 8 08:12:26 UTC 2015


#34900: Improve unnecessary/false checks in sanitize_post_field()
-------------------------------+------------------------------
 Reporter:  tfrommen           |       Owner:
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  close              |     Focuses:
-------------------------------+------------------------------

Comment (by tfrommen):

 I assumed a reaction like yours, that's why I provided two patches: one
 just fixing what is done wrong (or at least suboptimal).

 I didn't question that ''it works''. I rather stated that it is working in
 a way that can (and should) be improved.

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


More information about the wp-trac mailing list