| 380 | | $edit_link = add_query_arg( |
| 381 | | 'wp_http_referer', |
| 382 | | urlencode( wp_unslash( $uri ) ), |
| 383 | | get_edit_term_link( $tag->term_id, $taxonomy, $this->screen->post_type ) |
| 384 | | ); |
| 385 | | |
| | 380 | $edit_link = get_edit_term_link( $tag->term_id, $taxonomy, $this->screen->post_type ); |
| | 381 | if ( ! is_null( $edit_link ) ) { |
| | 382 | $edit_link = add_query_arg( |
| | 383 | 'wp_http_referer', |
| | 384 | urlencode( wp_unslash( $uri ) ), |
| | 385 | $edit_link |
| | 386 | ); |
| | 387 | $name = sprintf( |
| | 388 | '<a class="row-title" href="%s" aria-label="%s">%s</a>', |
| | 389 | esc_url( $edit_link ), |
| | 390 | /* translators: %s: taxonomy term name */ |
| | 391 | esc_attr( sprintf( __( '“%s” (Edit)' ), $tag->name ) ), |
| | 392 | $name |
| | 393 | ); |
| | 394 | } |