#33923 closed defect (bug) (fixed)
Post Lists Table: 'All' view not selected for paged responses
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.4 | Priority: | normal |
| Severity: | normal | Version: | 4.2 |
| Component: | Posts, Post Types | Keywords: | has-patch |
| Focuses: | administration | Cc: |
Description (last modified by )
In [31828] ( see: #24869 ), a new is_base_request function is added to class-wp-posts-lists-table.php to indicate if the "All" view should have the current class associated with it, intentionally not including it when the view is filtered (by counting the $_GET array).
This should still select "All" when paging through that view.
Steps to reproduce:
Visit the Posts list (Posts->All Posts) and page to a second page.
Expected: "All" to still have the current class and reflect the applicable styling.
Actual: No "current" defined.
Least churn would be to unset $_GET['paged']. AFAIK, unset only impacts the local instance of a global, so we should be able to do that in one line without impacting anything else.
Attachments (2)
Change History (7)
Note: See
TracTickets for help on using
tickets.
33923.2.diff doesn't modify the superglobal