Changeset 15336 for trunk/wp-admin/includes/template.php
- Timestamp:
- 06/27/2010 01:05:53 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r15315 r15336 1390 1390 $out = array(); 1391 1391 foreach ( $categories as $c ) 1392 $out[] = "<a href='edit.php? category_name=$c->slug'> " . esc_html(sanitize_term_field('name', $c->name, $c->term_id, 'category', 'display')) . '</a>';1392 $out[] = "<a href='edit.php?post_type={$post->post_type}&category_name={$c->slug}'> " . esc_html(sanitize_term_field('name', $c->name, $c->term_id, 'category', 'display')) . '</a>'; 1393 1393 echo join( ', ', $out ); 1394 1394 } else { … … 1406 1406 $out = array(); 1407 1407 foreach ( $tags as $c ) 1408 $out[] = "<a href='edit.php? tag=$c->slug'> " . esc_html(sanitize_term_field('name', $c->name, $c->term_id, 'post_tag', 'display')) . '</a>';1408 $out[] = "<a href='edit.php?post_type={$post->post_type}&tag={$c->slug}'> " . esc_html(sanitize_term_field('name', $c->name, $c->term_id, 'post_tag', 'display')) . '</a>'; 1409 1409 echo join( ', ', $out ); 1410 1410 } else {
Note: See TracChangeset
for help on using the changeset viewer.