Make WordPress Core


Ignore:
Timestamp:
02/22/2008 05:30:43 PM (17 years ago)
Author:
ryan
Message:

Validation fixes from nbachiyski. fixes #5962

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r6961 r6980  
    8585        "<td>$edit</td>
    8686        <td>$category->description</td>
    87         <td align='center'>$count</td>";
     87        <td align='center'>$count</td></tr>";
    8888
    8989    return apply_filters( 'link_cat_row', $output );
     
    237237        $out .= '<th scope="row" class="check-column"> <input type="checkbox" name="delete_tags[]" value="' . $tag->term_id . '" /></th>';
    238238        $out .= '<td><a href="edit-tags.php?action=edit&amp;tag_ID=' . $tag->term_id . '">' .
    239             apply_filters( 'term_name', $tag->name ) . '</td>';
     239            apply_filters( 'term_name', $tag->name ) . '</a></td>';
    240240
    241241        $out .= "<td>$count</td>";
     
    404404            $title = __('(no title)');
    405405        ?>
    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&amp;post=<?php the_ID(); ?>"><?php echo $pad; echo $title ?></a></strong>
    407407        <?php if ('private' == $page->post_status) _e(' &#8212; <strong>Private</strong>'); ?></td>
    408408        <?php
     
    544544    $numposts = get_usernumposts( $user_object->ID );
    545545    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" ) );
    547547        $edit = "<a href=\"$edit\">$user_object->user_login</a>";
    548548    } else {
     
    617617if ( current_user_can('edit_post', $comment->comment_post_ID) ) {
    618618    echo " <a href='comment.php?action=editcomment&amp;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&amp;p=$comment->comment_post_ID&amp;c=$id", "delete-comment_$id" ) );
    620620    echo " | <a href='$url' class='delete:the-comment-list:comment-$id'>" . __('Delete') . '</a> ';
    621621    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&amp;p=$comment->comment_post_ID&amp;c=$id", "unapprove-comment_$id" ) );
    623623        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&amp;p=$comment->comment_post_ID&amp;c=$id", "approve-comment_$id" ) );
    625625        echo "<span class='approve'> | <a href='$url' class='dim:the-comment-list:comment-$id:unapproved:33FF33:33FF33'>" . __('Approve') . '</a> </span>';
    626626    }
    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&amp;dt=spam&amp;p=$comment->comment_post_ID&amp;c=$id", "delete-comment_$id" ) );
    628628    echo " | <a href='$url' class='delete:the-comment-list:comment-$id::spam=1'>" . __('Spam') . '</a> ';
    629629}
Note: See TracChangeset for help on using the changeset viewer.