[wp-trac] [WordPress Trac] #56754: Use consistent, coding standard compliant naming for category ID variables
WordPress Trac
noreply at wordpress.org
Tue Jan 24 10:09:35 UTC 2023
#56754: Use consistent, coding standard compliant naming for category ID variables
--------------------------+-------------------------------
Reporter: hilayt24 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.2
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: coding-standards
--------------------------+-------------------------------
Comment (by robinwpdeveloper):
Thanks everyone who added patch.
Patch: https://core.trac.wordpress.org/attachment/ticket/56754/56754.diff
I am not sure if we need the empty check or not.
Also `!empty` should be `! empty` to maintain the coding standard if I am
not wrong.
Patch:
https://core.trac.wordpress.org/attachment/ticket/56754/%2356754.patch
Looks straight forward to me and good.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56754#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list