WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/11/2016 08:51:13 AM (6 years ago)
Author:
swissspidy
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/term.php

    r36874 r36969  
    2020}
    2121
    22 $term_id = absint( $_REQUEST['tag_ID'] );
    23 $tag     = get_term( $term_id, '', OBJECT, 'edit' );
     22$tag_ID = absint( $_REQUEST['tag_ID'] );
     23$tag    = get_term( $tag_ID, '', OBJECT, 'edit' );
    2424
    2525if ( ! $tag instanceof WP_Term ) {
Note: See TracChangeset for help on using the changeset viewer.