Taxonomy: Improve backward compatibility on the wp-admin/term.php page.

Specifically, run `do_action( 'edit-tags.php' );` on this new term edit page introduced in [36308]. Changes the GET param back to `tag_ID` and properly sets the screen base in `WP_Screen`.

See #34988.

git-svn-id: https://develop.svn.wordpress.org/trunk@36874 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Pascal Birchler
2016-03-07 12:55:04 +00:00
parent afdf1c9ec1
commit 3a51ff4d2e
7 changed files with 11 additions and 7 deletions
+1 -1
View File
@@ -928,7 +928,7 @@ function get_edit_term_link( $term_id, $taxonomy = '', $object_type = '' ) {
$args = array(
'taxonomy' => $taxonomy,
'term_id' => $term->term_id,
'tag_ID' => $term->term_id,
);
if ( $object_type ) {