[wp-trac] [WordPress Trac] #60473: Coding Standards: Use `implode` instead of `join` in wp-includes/fonts/class-wp-font-utils.php

WordPress Trac noreply at wordpress.org
Thu Feb 8 16:01:05 UTC 2024


#60473: Coding Standards: Use `implode` instead of `join` in wp-includes/fonts
/class-wp-font-utils.php
------------------------------+-------------------------------
 Reporter:  david.binda       |       Owner:  hellofromTonya
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  6.5
Component:  Editor            |     Version:  trunk
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  coding-standards
------------------------------+-------------------------------
Changes (by hellofromTonya):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"57567" 57567]:
 {{{
 #!CommitTicketReference repository="" revision="57567"
 Coding Standards: Replace alias join() in WP_Font_Utils.

 Replaces the alias `join()` with its canonical `implode()`.

 Using the canonical function name for PHP functions is strongly
 recommended, as aliases may be deprecated or removed without (much)
 warning.

 Follow-up to [57539], [49193].

 Props davidbinda.
 Fixes #60473.
 }}}

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


More information about the wp-trac mailing list