Changeset 9045 for trunk/wp-admin/includes/template.php
- Timestamp:
- 09/30/2008 11:40:44 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r9041 r9045 83 83 $edit_link = "categories.php?action=edit&cat_ID=$category->term_id"; 84 84 if ( current_user_can( 'manage_categories' ) ) { 85 $edit = "<a class='row-title' href='$edit_link' title='" . attribute_escape(sprintf(__('Edit "%s"'), $category->name)) . "'> $name</a><br />";85 $edit = "<a class='row-title' href='$edit_link' title='" . attribute_escape(sprintf(__('Edit "%s"'), $category->name)) . "'>" . attribute_escape( $name ) . '</a><br />'; 86 86 $actions = array(); 87 87 $actions['edit'] = '<a href="' . $edit_link . '">' . __('Edit') . '</a>'; … … 131 131 case 'description': 132 132 $output .= "<td $attributes>$category->description</td>"; 133 break; 134 case 'slug': 135 $output .= "<td $attributes>$category->slug</td>"; 133 136 break; 134 137 case 'posts': … … 402 405 $out .= '</td>'; 403 406 break; 407 case 'slug': 408 $out .= "<td $attributes>$tag->slug</td>"; 409 break; 404 410 case 'posts': 405 411 $attributes = 'class="posts column-posts num"' . $style; … … 545 551 'name' => __('Name'), 546 552 'description' => __('Description'), 553 'slug' => __('Slug'), 547 554 'posts' => __('Posts') 548 555 ); … … 562 569 'cb' => '<input type="checkbox" />', 563 570 'name' => __('Name'), 571 'slug' => __('Slug'), 564 572 'posts' => __('Posts') 565 573 );
Note: See TracChangeset
for help on using the changeset viewer.