• Resolved addicottweb

    (@addicottweb)


    I’ve been working to upgrade my comments to 2.7 functionality, and now I can’t log in to my admin area. I can get to the login screen, but after that it goes to a blank page.

    Could it be something in the functions.php file? Here is the code I added in to it when I upgraded the comments:

    <?php function mytheme_comment($comment, $args, $depth) { $GLOBALS[‘comment’] = $comment; ?>

    <li <?php comment_class(); ?> id=”li-comment-<?php comment_ID() ?>”>

    <div id=”comment-<?php comment_ID(); ?>”>

    <?php if ($comment->comment_approved == ‘0’) : ?>

    <?php _e(‘Your comment is awaiting moderation.’) ?>

    <?php endif; ?>

    <div class=”comm_text”>
    <div class=”gravatar”>
    <?php echo get_avatar($comment,$size=’80’); ?>
    </div>
    <div class=”reply”>
    <?php comment_reply_link(array_merge( $args, array(‘depth’ => $depth, ‘max_depth’ => $args[‘max_depth’]))) ?>
    </div>
    <?php printf(__(‘<h5>%1$s wrote on %2$s:</h5>’), get_comment_author_link(), get_comment_date()) ?>
    <p><?php comment_text() ?></p>
    <?php printf(__(‘<p>Posted at %s</p>’), get_comment_time()) ?>
    </div>

    </div>
    <?php } ?>

  • The topic ‘HELP! Can’t login to admin’ is closed to new replies.