Make WordPress Core


Ignore:
Timestamp:
04/23/2009 07:11:31 AM (15 years ago)
Author:
ryan
Message:

Use is_user_logged_in(), have_comments in bundled themes. Props zeo. fixes #9626

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/classic/comments-popup.php

    r10978 r11067  
    6464
    6565<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
    66 <?php if ( $user_ID ) : ?>
     66<?php if ( is_user_logged_in() ) : ?>
    6767<p><?php printf(__('Logged in as %s.'), '<a href="'.get_option('siteurl').'/wp-admin/profile.php">'.$user_identity.'</a>'); ?> <a href="<?php echo wp_logout_url(); ?>" title="<?php echo attribute_escape(__('Log out of this account')); ?>"><?php _e('Log out &raquo;'); ?></a></p>
    6868<?php else : ?>
Note: See TracChangeset for help on using the changeset viewer.