[wp-trac] [WordPress Trac] #52072: Twenty Twenty-One: Immediately return expression instead of assigning it to the temporary variable
WordPress Trac
noreply at wordpress.org
Mon Dec 14 20:34:44 UTC 2020
#52072: Twenty Twenty-One: Immediately return expression instead of assigning it to
the temporary variable
---------------------------+-------------------------------
Reporter: manzurahammed | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 5.6
Severity: normal | Resolution:
Keywords: has-patch | Focuses: coding-standards
---------------------------+-------------------------------
Comment (by poena):
Hi!
Can you add some context and explaination to why you consider the original
code a bug, and the reason for the changes?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52072#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list