WordPress.org

Make WordPress Core

Changes between Version 2 and Version 3 of Ticket #29881, comment 29


Ignore:
Timestamp:
06/13/2015 06:07:19 PM (6 years ago)
Author:
paulwilde
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #29881, comment 29

    v2 v3  
    11I've attached a patch which is a potential solution to repeating all of `single_row_columns()`'s code several times.
    22
    3 `handle_row_actions()` is hard-coded into the overrides, so maybe a `single_row_column()` method could exist which accepts attributes and the column value as its arguments.
     3`handle_row_actions()` is hard-coded into the overrides, so maybe a `single_row_column()` method could exist which contains all the column logic without the `<td>` container.