From 91d4bbd04107490fd2dec9f1e029ad5521e1b49b Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Fri, 11 Mar 2016 08:51:13 +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. git-svn-id: https://develop.svn.wordpress.org/trunk@36969 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/edit-tag-form.php | 6 +++--- src/wp-admin/term.php | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/wp-admin/edit-tag-form.php b/src/wp-admin/edit-tag-form.php index 6a4500b565..a50685efbf 100644 --- a/src/wp-admin/edit-tag-form.php +++ b/src/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" ); ?>> - +