#55132 closed enhancement (fixed)
Unused variable in in WP_Plugins_List_Table::single_row()
| Reported by: | azouamauriac | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.3 |
| Component: | Plugins | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: | coding-standards |
Attachments (2)
Change History (5)
#1
@
4 years ago
- Milestone Awaiting Review → 6.3
- Owner set to
- Status new → reviewing
Hi there, thanks for the patch!
It looks like this exact line also exists in a few other list tables:
list( $columns, $hidden, $sortable, $primary ) = $this->get_column_info();
So I think I'd like to leave it as is for consistency, even though $sortable and $primary are not used here.
The other change looks good to me.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Remove space for phpcs. this last is good.