Plugin Directory

Changeset 345079


Ignore:
Timestamp:
02/14/2011 12:48:52 AM (15 years ago)
Author:
scripty
Message:

Initial Upload - ver 1.0

Location:
download-post-comments/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • download-post-comments/trunk/csvdownload.php

    r324686 r345079  
    1111        $csv_output .= "\n";
    1212       
    13         $sql = $wpdb->prepare("SELECT * FROM wp_comments WHERE comment_post_ID ='%d' AND comment_approved = '1';",$_GET['p']);
     13        $sql = $wpdb->prepare("SELECT * FROM ".$wpdb->prefix."comments WHERE comment_post_ID =%d AND comment_approved = '1';",$_GET['p']);
    1414       
    1515        $rowdata = $wpdb->get_results($sql,ARRAY_A);
  • download-post-comments/trunk/download-post-comments.php

    r324686 r345079  
    44Plugin URI: http://www.scriptygoddess.com/archives/2010/12/19/wordpress-plugin-download-post-comments/
    55Description: This plugin will give you a link to download comment data for a particular post as a CSV
    6 Version: 1.0
     6Version: 1.1
    77Author: Jennifer Stuart (Scriptygoddess)
    88Author URI: http://scriptygoddess.com
     
    1818       
    1919        if( $column_name == 'comment_user_download_column' ) {
    20             echo '<a href="'.plugins_url('/download-post-comments/csvdownload.php').'?p='.$id.'">'.$numcomments.' <img src="'.plugins_url('/download-post-comments/images/arrowicon.gif').'"</a>';
     20            echo '<a href="'.plugins_url('/download-post-comments/csvdownload.php').'?p='.$id.'">'.$numcomments.' <img src="'.plugins_url('/download-post-comments/images/arrowicon.gif'). '"/></a>';
    2121        }
    2222    }
  • download-post-comments/trunk/readme.txt

    r324693 r345079  
    44Tags: posts, comments, download, csv, contests
    55Requires at least: 3.0
    6 Tested up to: 3.0.3
    7 Stable tag: 1.0
     6Tested up to: 3.0.5
     7Stable tag: 1.1
    88
    99This plugin adds a link to the "Edit Posts" view that will allow you to download a CSV of all comments for that particular post.
     
    2929== Changelog ==
    3030
     31= 1.1=
     32Minor bug fixes
    3133= 1.0 =
    3234* initial release
Note: See TracChangeset for help on using the changeset viewer.