[wp-trac] [WordPress Trac] #56982: Empty ELSE statement in dbDelta()

WordPress Trac noreply at wordpress.org
Sat Apr 29 18:28:51 UTC 2023


#56982: Empty ELSE statement in dbDelta()
-----------------------------+-------------------------------
 Reporter:  krunal265        |       Owner:  SergeyBiryukov
     Type:  defect (bug)     |      Status:  closed
 Priority:  normal           |   Milestone:  6.3
Component:  Upgrade/Install  |     Version:  1.5
 Severity:  trivial          |  Resolution:  fixed
 Keywords:  dev-feedback     |     Focuses:  coding-standards
-----------------------------+-------------------------------

Comment (by SergeyBiryukov):

 In [changeset:"55698" 55698]:
 {{{
 #!CommitTicketReference repository="" revision="55698"
 Coding Standards: Break out of the inner loop in
 `make_site_theme_from_default()`.

 This more closely matches the previous behavior with multiple
 `if`/`elseif` statements.

 Follow-up to [55688].

 See #56982.
 }}}

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


More information about the wp-trac mailing list