[wp-trac] [WordPress Trac] #56784: Optimization in wp_staticize_emoji function
WordPress Trac
noreply at wordpress.org
Mon Dec 5 19:06:56 UTC 2022
#56784: Optimization in wp_staticize_emoji function
--------------------------+------------------------------
Reporter: kac1per | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Emoji | Version: 6.0.2
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: performance
--------------------------+------------------------------
Changes (by desrosj):
* keywords: => needs-patch
Comment:
Thanks for this one, @kac1per.
It seems that the code block you're referencing is there to ensure both
the encoded and decoded versions of the emoji are available further down.
So only skipping the condition would not be the full solution.
Could you prepare a patch or pull request demonstrating your suggested
changes? This will help make it more clear to everyone viewing this ticket
and allow the automated tests to run.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56784#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list