[wp-trac] [WordPress Trac] #64898: PHPStan code quality improvements for 7.1

WordPress Trac noreply at wordpress.org
Thu Mar 19 13:40:54 UTC 2026


#64898: PHPStan code quality improvements for 7.1
----------------------------+-------------------------------
 Reporter:  desrosj         |       Owner:  (none)
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  7.1
Component:  General         |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  coding-standards
----------------------------+-------------------------------

Comment (by SergeyBiryukov):

 In [changeset:"62066" 62066]:
 {{{
 #!CommitTicketReference repository="" revision="62066"
 Code Quality: Simplify tag URL assignment in `wp_generate_tag_cloud()`.

 This removes a redundant ternary that no longer affects the logic after
 the `esc_url()` call on the tag URL was moved to the output in an earlier
 revision.

 Follow-up to [9518], [11383], [32996].

 Props Soean.
 See #64898.
 }}}

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


More information about the wp-trac mailing list