Make WordPress Core


Ignore:
Timestamp:
02/20/2010 02:01:46 AM (15 years ago)
Author:
dd32
Message:

Variable Cleanup, Unused variables, Typo'd variables, unused code blocks. Fixes #12299

File:
1 edited

Legend:

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

    r13231 r13242  
    970970    $post    = get_post($comment->comment_post_ID);
    971971    $user    = get_userdata( $post->post_author );
    972     $current_user = wp_get_current_user();
    973972
    974973    if ( $comment->user_id == $post->post_author ) return false; // The author moderated a comment on his own post
Note: See TracChangeset for help on using the changeset viewer.