Plugin Directory

Changeset 419521


Ignore:
Timestamp:
08/04/2011 08:53:50 PM (15 years ago)
Author:
kwon
Message:

add wp 3.2.1 support

Location:
draw-comments
Files:
5 added
2 edited

Legend:

Unmodified
Added
Removed
  • draw-comments/trunk/draw_comments.php

    r86095 r419521  
    22  /*
    33    Plugin Name: Draw Comments
    4     Plugin URI: http://wpdemo.azettl.de/2008/11/draw-comments/
    54    Description: This plugin allows your visitors to draw an image as extra comment.
    6     Version: 0.0.9
     5    Version: 0.1.0
    76    Author: Andreas Zettl
    87    Author URI: http://azettl.de/
    98    Min WP Version: 2.6.2
    10     Max WP Version: 2.7.0
     9    Max WP Version: 3.2.1
    1110  */
    1211 
    1312  add_action('admin_menu', 'draw_add_menu');
    14     add_action('comment_form', 'comment_form');
     13  add_action('comment_form_field_comment', 'comment_form_field_comment');
    1514  add_action('preprocess_comment', 'add_image',1);
    1615  add_filter('comment_text', 'replace_image');
     
    172171  }
    173172 
    174     function comment_form() {
     173    function comment_form_field_comment($field) {
     174        echo $field;
    175175        if(get_option('draw_do_action') != '-1'){
    176176      echo getDrawArea().getColors();
  • draw-comments/trunk/readme.txt

    r86095 r419521  
    11=== Draw Comments ===
    2 Donate link: http://www.azettl.de/donate/
    32Tags: draw, comment, image, drawing
    43Requires at least: 2.6.2
    5 Tested up to: 2.7.0
    6 Stable tag: 0.0.9
     4Tested up to: 3.2.1
     5Stable tag: 0.1.0
    76
    87This plugin allows your visitors to draw an image as extra comment.
Note: See TracChangeset for help on using the changeset viewer.