Changeset 419521
- Timestamp:
- 08/04/2011 08:53:50 PM (15 years ago)
- Location:
- draw-comments
- Files:
-
- 5 added
- 2 edited
-
tags/0.0.9 (added)
-
tags/0.0.9/draw_comments.php (added)
-
tags/0.0.9/readme.txt (added)
-
tags/0.0.9/screenshot-1.jpg (added)
-
tags/0.0.9/screenshot-2.jpg (added)
-
trunk/draw_comments.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
draw-comments/trunk/draw_comments.php
r86095 r419521 2 2 /* 3 3 Plugin Name: Draw Comments 4 Plugin URI: http://wpdemo.azettl.de/2008/11/draw-comments/5 4 Description: This plugin allows your visitors to draw an image as extra comment. 6 Version: 0. 0.95 Version: 0.1.0 7 6 Author: Andreas Zettl 8 7 Author URI: http://azettl.de/ 9 8 Min WP Version: 2.6.2 10 Max WP Version: 2.7.09 Max WP Version: 3.2.1 11 10 */ 12 11 13 12 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'); 15 14 add_action('preprocess_comment', 'add_image',1); 16 15 add_filter('comment_text', 'replace_image'); … … 172 171 } 173 172 174 function comment_form() { 173 function comment_form_field_comment($field) { 174 echo $field; 175 175 if(get_option('draw_do_action') != '-1'){ 176 176 echo getDrawArea().getColors(); -
draw-comments/trunk/readme.txt
r86095 r419521 1 1 === Draw Comments === 2 Donate link: http://www.azettl.de/donate/3 2 Tags: draw, comment, image, drawing 4 3 Requires at least: 2.6.2 5 Tested up to: 2.7.06 Stable tag: 0. 0.94 Tested up to: 3.2.1 5 Stable tag: 0.1.0 7 6 8 7 This plugin allows your visitors to draw an image as extra comment.
Note: See TracChangeset
for help on using the changeset viewer.