[wp-trac] [WordPress Trac] #63268: PHPStan code quality improvements for 6.9

WordPress Trac noreply at wordpress.org
Thu Apr 24 12:47:35 UTC 2025


#63268: PHPStan code quality improvements for 6.9
--------------------------+-------------------------------
 Reporter:  justlevine    |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  accepted
 Priority:  normal        |   Milestone:  6.9
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  coding-standards
--------------------------+-------------------------------

Comment (by SergeyBiryukov):

 In [changeset:"60181" 60181]:
 {{{
 #!CommitTicketReference repository="" revision="60181"
 Site Health: Set missing `$transient` in
 `WP_Debug_Data:get_wp_themes_inactive()`.

 This commit addresses a bug where the `update_themes` site transient was
 not defined before being checked in several `isset()` checks later on in
 the method.

 Follow-up to [59176].

 Props justlevine.
 See #63268.
 }}}

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


More information about the wp-trac mailing list