Make WordPress Core


Ignore:
Timestamp:
03/27/2007 11:45:41 PM (18 years ago)
Author:
ryan
Message:

More clean_url and int casts for trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/comment.php

    r5089 r5119  
    8282        $_comment = & $comment_cache[$comment->comment_ID];
    8383    } else {
     84        $comment = (int) $comment;
    8485        if ( !isset($comment_cache[$comment]) ) {
    8586            $_comment = $wpdb->get_row("SELECT * FROM $wpdb->comments WHERE comment_ID = '$comment' LIMIT 1");
Note: See TracChangeset for help on using the changeset viewer.