[wp-trac] [WordPress Trac] #39920: Empty if-statement

WordPress Trac noreply at wordpress.org
Mon Feb 20 14:34:54 UTC 2017


#39920: Empty if-statement
------------------------------------------+------------------
 Reporter:  appchecker                    |       Owner:
     Type:  defect (bug)                  |      Status:  new
 Priority:  normal                        |   Milestone:  4.8
Component:  Rewrite Rules                 |     Version:  1.5
 Severity:  normal                        |  Resolution:
 Keywords:  needs-patch needs-unit-tests  |     Focuses:
------------------------------------------+------------------
Changes (by SergeyBiryukov):

 * keywords:   => needs-patch needs-unit-tests
 * version:  trunk => 1.5
 * component:  General => Rewrite Rules
 * milestone:  Awaiting Review => 4.8


Comment:

 Hi @appchecker, welcome to WordPress Trac! Thanks for the report.

 Good catch, introduced in [1489]. Would be great to have some unit tests
 for this (related: #26829).

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


More information about the wp-trac mailing list