Plugin Directory

Changeset 451254


Ignore:
Timestamp:
10/15/2011 12:43:52 AM (14 years ago)
Author:
imaprogrammer
Message:

fields can be seen even when the user is logged in

Location:
customcomment
Files:
3 edited
1 copied

Legend:

Unmodified
Added
Removed
  • customcomment/tags/2.1.6/CustomComment.php

    r365571 r451254  
    2929add_action('wp_ajax_my_action', 'CComent_ajax_respond');
    3030add_action('comment_form_after_fields', 'CComment_form');
     31add_action('comment_form_logged_in_after', 'CComment_form');
    3132add_action('comment_post', 'CComment_comment_post');
    3233add_action('admin_menu', 'CComment_modify_admin_menu');
    3334add_action('delete_comment', 'CComment_delete_comment');
    3435add_filter('comment_author', 'CComment_link');
    35 add_action('check_comment_flood', 'check_required_CComment_fields');
     36//add_action('check_comment_flood', 'check_required_CComment_fields');
    3637register_activation_hook (__FILE__, 'set_CComment_options');
    3738
     
    139140//Save the custom fields for the comment
    140141function CComment_comment_post($comment_id) {
     142    //Check required files
     143    check_required_CComment_fields();
     144   
    141145    $custom_fields = array_filter(explode(",", get_option('CComment_fields')));
    142146    foreach ($custom_fields as $custom_field)
  • customcomment/tags/2.1.6/readme.txt

    r365561 r451254  
    44Tags: comment customization,comment,custom comment,comment field,customize comment,extra fields,extra field
    55Requires at least: 2.7
    6 Tested up to: 3.1
    7 Stable tag: 2.1.5
     6Tested up to: 3.2
     7Stable tag: 2.1.6
    88
    99== Description ==
     
    6464please update to this version since in 2.1.2 you can't see the user data
    6565
     66= 2.1.6 =
     67now the extra fields that you create can be seen by the logged in users
     68
    6669== Development Blog ==
    6770
  • customcomment/trunk/readme.txt

    r365561 r451254  
    55Requires at least: 2.7
    66Tested up to: 3.1
    7 Stable tag: 2.1.5
     7Stable tag: 2.1.6
    88
    99== Description ==
Note: See TracChangeset for help on using the changeset viewer.