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.
Built from https://develop.svn.wordpress.org/trunk@36874


git-svn-id: http://core.svn.wordpress.org/trunk@36841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Pascal Birchler
2016-03-07 12:56:28 +00:00
parent 5d6513f0bc
commit 033044a872
6 changed files with 10 additions and 6 deletions

View File

@@ -355,6 +355,8 @@ if ( isset($plugin_page) ) {
do_action( 'load-categories.php' );
elseif ( $taxnow == 'link_category' )
do_action( 'load-edit-link-categories.php' );
} elseif( 'term.php' === $pagenow ) {
do_action( 'edit-tags.php' );
}
}