[wp-trac] [WordPress Trac] #45059: Changed meaningless variable name "$r"
WordPress Trac
noreply at wordpress.org
Thu Oct 11 00:25:25 UTC 2018
#45059: Changed meaningless variable name "$r"
----------------------------------------+-------------------------------
Reporter: freewebmentor | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: General | Version: 4.9.8
Severity: minor | Resolution:
Keywords: needs-patch good-first-bug | Focuses: coding-standards
----------------------------------------+-------------------------------
Comment (by SergeyBiryukov):
Replying to [comment:3 freewebmentor]:
> So I need to update the $r from all the files like wp-includes folder 33
files and wp-admin folder 12 files contain $r variables?
At a glance, `$r` is not always used with `wp_parse_args()` in those
files, sometimes it's a shorthand for `$result` or `$response`.
In this ticket, I'd suggest focusing on the instances where `$r` is used
with `wp_parse_args()`. Once that's done, we can create new tickets for
other instances.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45059#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list