[wp-trac] [WordPress Trac] #58436: Emoji: Extraneous sprintf() present in _print_emoji_detection_script()

WordPress Trac noreply at wordpress.org
Thu Jun 1 18:07:35 UTC 2023


#58436: Emoji: Extraneous sprintf() present in _print_emoji_detection_script()
--------------------------+--------------------------
 Reporter:  westonruter   |       Owner:  westonruter
     Type:  defect (bug)  |      Status:  closed
 Priority:  low           |   Milestone:  6.2.3
Component:  Emoji         |     Version:  5.9
 Severity:  trivial       |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+--------------------------
Changes (by westonruter):

 * owner:  (none) => westonruter
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"55875" 55875]:
 {{{
 #!CommitTicketReference repository="" revision="55875"
 Emoji: Remove extraneous `sprintf()` from
 `_print_emoji_detection_script()`.

 The `sprintf()` is not being passed any values, and there is no
 placeholder to replace.
 This originated in r52132 in which I erroneously included this `sprintf()`
 in
 two places. I fixed one of the cases in r52151 but I missed the other.

 Follow-up to [52132], [52151].

 Fixes #58436.
 See #44632.
 }}}

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


More information about the wp-trac mailing list