[wp-trac] [WordPress Trac] #38194: Term order and current page is lost when bulk deleting terms
WordPress Trac
noreply at wordpress.org
Fri Oct 7 19:38:04 UTC 2016
#38194: Term order and current page is lost when bulk deleting terms
--------------------------+-----------------------------
Reporter: ocean90 | Owner: ocean90
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.7
Component: Taxonomy | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: administration
--------------------------+-----------------------------
Changes (by ocean90):
* owner: => ocean90
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"38750"]:
{{{
#!CommitTicketReference repository="" revision="38750"
Taxonomy: Don't drop term order and current page when bulk deleting terms.
* Removes special handling for `edit-tags.php` which is no longer required
because of `term.php`. Related: [34202] and [36308].
* Sets `$referer` to `$_SERVER['REQUEST_URI']` because `wp_get_referer()`
returns false if `$_SERVER['REQUEST_URI'] ===
$_REQUEST['_wp_http_referer']`.
* Sets `paged` always to `$pagenum` which is the value of
`$wp_list_table->get_pagenum();`. This avoids an additional redirect when
you delete an item which was previously on the last page.
Fixes #38194.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38194#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list