Changeset 18010 for trunk/wp-admin/includes/class-wp-terms-list-table.php
- Timestamp:
- 05/23/2011 11:33:30 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-terms-list-table.php
r17771 r18010 251 251 $name = apply_filters( 'term_name', $pad . ' ' . $tag->name, $tag ); 252 252 $qe_data = get_term( $tag->term_id, $taxonomy, OBJECT, 'edit' ); 253 $edit_link = get_edit_term_link( $tag->term_id, $taxonomy, $post_type);253 $edit_link = esc_url( get_edit_term_link( $tag->term_id, $taxonomy, $post_type ) ); 254 254 255 255 $out = '<strong><a class="row-title" href="' . $edit_link . '" title="' . esc_attr( sprintf( __( 'Edit “%s”' ), $name ) ) . '">' . $name . '</a></strong><br />'; … … 270 270 $out .= '<div class="name">' . $qe_data->name . '</div>'; 271 271 $out .= '<div class="slug">' . apply_filters( 'editable_slug', $qe_data->slug ) . '</div>'; 272 $out .= '<div class="parent">' . $qe_data->parent . '</div></div> </td>';272 $out .= '<div class="parent">' . $qe_data->parent . '</div></div>'; 273 273 274 274 return $out; … … 301 301 $args['post_type'] = $post_type; 302 302 303 return "<a href='" . add_query_arg( $args, 'edit.php') . "'>$count</a>";303 return "<a href='" . esc_url ( add_query_arg( $args, 'edit.php' ) ) . "'>$count</a>"; 304 304 } 305 305
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)