Changeset 1060
- Timestamp:
- 08/16/07 01:53:46 (1 year ago)
- Files:
-
- trunk/src/lyceum/wp-comments-post.php (modified) (1 diff)
- trunk/src/lyceum/wp-content/themes/default/comments.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/lyceum/wp-comments-post.php
r1034 r1060 40 40 } 41 41 } 42 if ( get_option('comment_priviliges') && ! is_array($userdata->capabilities) )42 if ( get_option('comment_priviliges') && !current_user_can('read') ) 43 43 die( __('Sorry, you must have permissions on this blog to post a comment.') ); 44 44 } else { trunk/src/lyceum/wp-content/themes/default/comments.php
r1004 r1060 68 68 <?php if ( get_option('comment_registration') && !$user_ID ) : ?> 69 69 <p>You must be <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php the_permalink(); ?>">logged in</a> to post a comment.</p> 70 <?php elseif ( get_option('comment_priviliges') && ! is_array($userdata->capabilities)) : ?>70 <?php elseif ( get_option('comment_priviliges') && !current_user_can('read')) : ?> 71 71 <p>You must have permissions on this blog to post a comment.</p> 72 72
