Changeset 56631
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-terms-list-table.php
r56611 r56631 475 475 $uri = wp_doing_ajax() ? wp_get_referer() : $_SERVER['REQUEST_URI']; 476 476 477 $edit_link = add_query_arg(478 'wp_http_referer',479 urlencode( wp_unslash( $uri ) ),480 get_edit_term_link( $tag, $taxonomy, $this->screen->post_type )481 );482 483 477 $actions = array(); 484 478 … … 486 480 $actions['edit'] = sprintf( 487 481 '<a href="%s" aria-label="%s">%s</a>', 488 esc_url( $edit_link ), 482 esc_url( 483 add_query_arg( 484 'wp_http_referer', 485 urlencode( wp_unslash( $uri ) ), 486 get_edit_term_link( $tag, $taxonomy, $this->screen->post_type ) 487 ) 488 ), 489 489 /* translators: %s: Taxonomy term name. */ 490 490 esc_attr( sprintf( __( 'Edit “%s”' ), $tag->name ) ),
Note: See TracChangeset
for help on using the changeset viewer.