Changeset 36874 for trunk/src/wp-admin/term.php
- Timestamp:
- 03/07/2016 12:55:04 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/term.php
r36497 r36874 11 11 require_once( dirname( __FILE__ ) . '/admin.php' ); 12 12 13 if ( empty( $_REQUEST['t erm_id'] ) ) {13 if ( empty( $_REQUEST['tag_ID'] ) ) { 14 14 $sendback = admin_url( 'edit-tags.php' ); 15 15 if ( ! empty( $taxnow ) ) { … … 20 20 } 21 21 22 $term_id = absint( $_REQUEST['t erm_id'] );23 $tag = get_term( $term_id, $taxnow, OBJECT, 'edit' );22 $term_id = absint( $_REQUEST['tag_ID'] ); 23 $tag = get_term( $term_id, '', OBJECT, 'edit' ); 24 24 25 25 if ( ! $tag instanceof WP_Term ) {
Note: See TracChangeset
for help on using the changeset viewer.