[wp-trac] [WordPress Trac] #46508: Uses strict comparison in WP_Post

WordPress Trac noreply at wordpress.org
Fri Mar 15 14:02:05 UTC 2019


#46508: Uses strict comparison in WP_Post
-------------------------------+-----------------------------
 Reporter:  andizer            |      Owner:  (none)
     Type:  enhancement        |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  Posts, Post Types  |    Version:  trunk
 Severity:  normal             |   Keywords:  has-patch
  Focuses:                     |
-------------------------------+-----------------------------
 Improvement in doing comparisons in `WP_Post`:
 - Do strict comparison where possible.
 - Flipped one comparison to have the Yoda style

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


More information about the wp-trac mailing list