[wp-trac] [WordPress Trac] #17435: Inaccurate order and orderby values for sortable list table columns
WordPress Trac
wp-trac at lists.automattic.com
Sat May 14 19:29:03 UTC 2011
#17435: Inaccurate order and orderby values for sortable list table columns
----------------------------+-----------------------------
Reporter: johnbillion | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: 3.2
Severity: normal | Keywords:
----------------------------+-----------------------------
`WP_List_Table->print_column_headers()` detects the 'order' and 'orderby'
parameters using `$_GET`. It should use the values from the actual query
object instead.
Example: I have a custom post type that has sortable columns. The default
values for 'order' and 'orderby' are overridden in the `parse_request`
hook. `WP_List_Table->print_column_headers()` ignores these values and
just uses the `$_GET` values. This results in incorrectly highlighted
columns.
Patch coming up.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17435>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list