Reduce reliance on global variables in list tables
|Reported by:||ryan||Owned by:||ryan|
The list tables rely on several global variables such as $post_type, $taxonomy, $post_type_object, and $tax. Instead of globals, list tables should consult the WP_Screen object. Further, to accommodate ajax handlers, the list table constructors should accept screen IDs as an arg and create and store a WP_Screen object internally.
Change History (38)
- Keywords needs-patch added; has-patch removed
- Resolution fixed deleted
- Status changed from closed to reopened