Opened 3 years ago
Closed 3 years ago
#54856 closed defect (bug) (fixed)
Use a more appropriate variable name in link_advanced_meta_box()
Reported by: | SergeyBiryukov | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 6.0 | Priority: | normal |
Severity: | normal | Version: | |
Component: | General | Keywords: | good-first-bug has-patch |
Focuses: | coding-standards | Cc: |
Description
Background: #45059.
In [45667], the $r
variable in link_advanced_meta_box() was renamed to $parsed_args
, along with other instances used with wp_parse_args()
.
In hindsight, this particular instance was unrelated to the other changes, as it's not used with wp_parse_args()
. So the correct variable name to use here would be $rating
, which I think $r
was a short for.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Rename $parsed_args to $rating in link_advanced_meta_box