WP_List_Table::single_row_columns() needs to do an exact comparison
|Reported by:||Viper007Bond||Owned by:|
If for whatever reason you pass a column ID of 0 when dealing with a list table, WordPress thinks it's a checkbox column because of the loose comparison, i.e. == instead of ===.
Since I don't see why passing a number instead of a string shouldn'r be allowed, attached is a patch.
Change History (7)
- Cc kurtpayne added
- Keywords needs-testing removed
- Milestone changed from Awaiting Review to 3.4.3