From 9462ab0576c26f841df28e895fe10a9e2f963f4a Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Fri, 11 Mar 2016 08:52:29 +0000 Subject: [PATCH] Taxonomy: After [36874], rename `$term_id` to `$tag_ID` in `wp-admin/edit-tag-form.php`. This ensures that no variables changed in the process of introducing `wp-admin/term.php`, improving overall backward compatibility. Props Chouby for initial patch. Fixes #34988. Built from https://develop.svn.wordpress.org/trunk@36969 git-svn-id: http://core.svn.wordpress.org/trunk@36937 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/edit-tag-form.php | 6 +++--- wp-admin/term.php | 4 ++-- wp-includes/version.php | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/wp-admin/edit-tag-form.php b/wp-admin/edit-tag-form.php index 6a4500b565..a50685efbf 100644 --- a/wp-admin/edit-tag-form.php +++ b/wp-admin/edit-tag-form.php @@ -49,7 +49,7 @@ if ( 'category' == $taxonomy ) { */ wp_reset_vars( array( 'wp_http_referer' ) ); -$wp_http_referer = remove_query_arg( array( 'action', 'message', 'term_id' ), $wp_http_referer ); +$wp_http_referer = remove_query_arg( array( 'action', 'message', 'tag_ID' ), $wp_http_referer ); /** Also used by Edit Tags */ require_once( ABSPATH . 'wp-admin/includes/edit-tag-messages.php' ); @@ -96,11 +96,11 @@ do_action( "{$taxonomy}_pre_edit_form", $tag, $taxonomy ); ?> do_action( "{$taxonomy}_term_edit_form_tag" ); ?>> - +