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

WordPress Trac noreply at wordpress.org
Tue Dec 8 08:02:42 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:
-------------------------------+------------------------------
Changes (by swissspidy):

 * keywords:   => close


Comment:

 As per https://make.wordpress.org/core/2011/03/23/code-refactoring/, code
 refactoring should not be done for the sake of refactoring.

 The check as it currently is doesn't hurt anyone and works.

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


More information about the wp-trac mailing list