mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
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:
@@ -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 ) {
|
||||
|
||||
Reference in New Issue
Block a user