Changeset 6980 for trunk/wp-admin/includes/template.php
- Timestamp:
- 02/22/2008 05:30:43 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r6961 r6980 85 85 "<td>$edit</td> 86 86 <td>$category->description</td> 87 <td align='center'>$count</td> ";87 <td align='center'>$count</td></tr>"; 88 88 89 89 return apply_filters( 'link_cat_row', $output ); … … 237 237 $out .= '<th scope="row" class="check-column"> <input type="checkbox" name="delete_tags[]" value="' . $tag->term_id . '" /></th>'; 238 238 $out .= '<td><a href="edit-tags.php?action=edit&tag_ID=' . $tag->term_id . '">' . 239 apply_filters( 'term_name', $tag->name ) . '</ td>';239 apply_filters( 'term_name', $tag->name ) . '</a></td>'; 240 240 241 241 $out .= "<td>$count</td>"; … … 404 404 $title = __('(no title)'); 405 405 ?> 406 <td><strong><a href="page.php?action=edit& post=<?php the_ID(); ?>"><?php echo $pad; echo $title ?></a></strong>406 <td><strong><a href="page.php?action=edit&post=<?php the_ID(); ?>"><?php echo $pad; echo $title ?></a></strong> 407 407 <?php if ('private' == $page->post_status) _e(' — <strong>Private</strong>'); ?></td> 408 408 <?php … … 544 544 $numposts = get_usernumposts( $user_object->ID ); 545 545 if ( current_user_can( 'edit_user', $user_object->ID ) ) { 546 $edit = add_query_arg( 'wp_http_referer', urlencode( clean_url( stripslashes( $_SERVER['REQUEST_URI'] ) ) ), "user-edit.php?user_id=$user_object->ID");546 $edit = clean_url( add_query_arg( 'wp_http_referer', urlencode( clean_url( stripslashes( $_SERVER['REQUEST_URI'] ) ) ), "user-edit.php?user_id=$user_object->ID" ) ); 547 547 $edit = "<a href=\"$edit\">$user_object->user_login</a>"; 548 548 } else { … … 617 617 if ( current_user_can('edit_post', $comment->comment_post_ID) ) { 618 618 echo " <a href='comment.php?action=editcomment&c=$id'>" . __('Edit') . '</a>'; 619 $url = clean_url( wp_nonce_url( "comment.php?action=deletecomment& p=$comment->comment_post_ID&c=$id", "delete-comment_$id" ) );619 $url = clean_url( wp_nonce_url( "comment.php?action=deletecomment&p=$comment->comment_post_ID&c=$id", "delete-comment_$id" ) ); 620 620 echo " | <a href='$url' class='delete:the-comment-list:comment-$id'>" . __('Delete') . '</a> '; 621 621 if ( ('none' != $comment_status) && ( current_user_can('moderate_comments') ) ) { 622 $url = clean_url( wp_nonce_url( "comment.php?action=unapprovecomment& p=$comment->comment_post_ID&c=$id", "unapprove-comment_$id" ) );622 $url = clean_url( wp_nonce_url( "comment.php?action=unapprovecomment&p=$comment->comment_post_ID&c=$id", "unapprove-comment_$id" ) ); 623 623 echo "<span class='unapprove'> | <a href='$url' class='dim:the-comment-list:comment-$id:unapproved:FFFF33'>" . __('Unapprove') . '</a> </span>'; 624 $url = clean_url( wp_nonce_url( "comment.php?action=approvecomment& p=$comment->comment_post_ID&c=$id", "approve-comment_$id" ) );624 $url = clean_url( wp_nonce_url( "comment.php?action=approvecomment&p=$comment->comment_post_ID&c=$id", "approve-comment_$id" ) ); 625 625 echo "<span class='approve'> | <a href='$url' class='dim:the-comment-list:comment-$id:unapproved:33FF33:33FF33'>" . __('Approve') . '</a> </span>'; 626 626 } 627 $url = clean_url( wp_nonce_url( "comment.php?action=deletecomment& dt=spam&p=$comment->comment_post_ID&c=$id", "delete-comment_$id" ) );627 $url = clean_url( wp_nonce_url( "comment.php?action=deletecomment&dt=spam&p=$comment->comment_post_ID&c=$id", "delete-comment_$id" ) ); 628 628 echo " | <a href='$url' class='delete:the-comment-list:comment-$id::spam=1'>" . __('Spam') . '</a> '; 629 629 }
Note: See TracChangeset
for help on using the changeset viewer.