[wp-trac] [WordPress Trac] #25408: Ability to specify that a list table column is "primary"
WordPress Trac
noreply at wordpress.org
Thu Jul 2 01:57:03 UTC 2015
#25408: Ability to specify that a list table column is "primary"
-------------------------------------+-----------------------
Reporter: helen | Owner: stephdau
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: 4.3
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses:
-------------------------------------+-----------------------
Comment (by mordauk):
For plugins that have extended the list table class and have defined
`_column_headers` manually, a default primary column has to be
"discovered" if none is specified, otherwise the mobile view is empty (for
at least most tables)
In [https://core.trac.wordpress.org/attachment/ticket/25408/25408-22.diff
25408-22.diff] I've set it so the first non-checkbox column gets set as
the primary if none is explicitly set.
Before:
[[Image(https://cldup.com/tmGlgoqZPu-3000x3000.png)]]
After:
[[Image(https://cldup.com/DGFK2t2eiT-3000x3000.png)]]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/25408#comment:80>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list