[wp-trac] [WordPress Trac] #57371: Twenty Twenty: Remove Unused function parameter and variable.
WordPress Trac
noreply at wordpress.org
Mon Jun 26 21:31:46 UTC 2023
#57371: Twenty Twenty: Remove Unused function parameter and variable.
------------------------------------+-------------------------------
Reporter: upadalavipul | Owner: audrasjb
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.3
Component: Bundled Theme | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch dev-feedback | Focuses: coding-standards
------------------------------------+-------------------------------
Changes (by audrasjb):
* owner: (none) => audrasjb
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"56045" 56045]:
{{{
#!CommitTicketReference repository="" revision="56045"
Twenty Twenty: Remove various unused function parameters and variables.
This removes the `$n` variable from `TwentyTwenty_Walker_Page` class
`start_el()` function, removes an unused global and the last parameter
from
`twentytwenty_filter_wp_list_pages_item_classes()` and
`twentytwenty_add_sub_toggles_to_main_menu()`.
Props upadalavipul, sabernhardt, mukesh27.
Fixes #57371.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57371#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list