equal
deleted
inserted
replaced
26 |
26 |
27 $tag_ID = absint( $_REQUEST['tag_ID'] ); |
27 $tag_ID = absint( $_REQUEST['tag_ID'] ); |
28 $tag = get_term( $tag_ID, $taxnow, OBJECT, 'edit' ); |
28 $tag = get_term( $tag_ID, $taxnow, OBJECT, 'edit' ); |
29 |
29 |
30 if ( ! $tag instanceof WP_Term ) { |
30 if ( ! $tag instanceof WP_Term ) { |
31 wp_die( __( 'You attempted to edit an item that doesn’t exist. Perhaps it was deleted?' ) ); |
31 wp_die( __( 'You attempted to edit an item that does not exist. Perhaps it was deleted?' ) ); |
32 } |
32 } |
33 |
33 |
34 $tax = get_taxonomy( $tag->taxonomy ); |
34 $tax = get_taxonomy( $tag->taxonomy ); |
35 $taxonomy = $tax->name; |
35 $taxonomy = $tax->name; |
36 $title = $tax->labels->edit_item; |
36 $title = $tax->labels->edit_item; |