equal
deleted
inserted
replaced
18 |
18 |
19 if ( 'post' !== get_current_screen()->post_type ) { |
19 if ( 'post' !== get_current_screen()->post_type ) { |
20 $sendback = add_query_arg( 'post_type', get_current_screen()->post_type, $sendback ); |
20 $sendback = add_query_arg( 'post_type', get_current_screen()->post_type, $sendback ); |
21 } |
21 } |
22 |
22 |
23 wp_redirect( esc_url_raw( $sendback ) ); |
23 wp_redirect( sanitize_url( $sendback ) ); |
24 exit; |
24 exit; |
25 } |
25 } |
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' ); |