Changeset 345079
- Timestamp:
- 02/14/2011 12:48:52 AM (15 years ago)
- Location:
- download-post-comments/trunk
- Files:
-
- 3 edited
-
csvdownload.php (modified) (1 diff)
-
download-post-comments.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
download-post-comments/trunk/csvdownload.php
r324686 r345079 11 11 $csv_output .= "\n"; 12 12 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']); 14 14 15 15 $rowdata = $wpdb->get_results($sql,ARRAY_A); -
download-post-comments/trunk/download-post-comments.php
r324686 r345079 4 4 Plugin URI: http://www.scriptygoddess.com/archives/2010/12/19/wordpress-plugin-download-post-comments/ 5 5 Description: This plugin will give you a link to download comment data for a particular post as a CSV 6 Version: 1. 06 Version: 1.1 7 7 Author: Jennifer Stuart (Scriptygoddess) 8 8 Author URI: http://scriptygoddess.com … … 18 18 19 19 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>'; 21 21 } 22 22 } -
download-post-comments/trunk/readme.txt
r324693 r345079 4 4 Tags: posts, comments, download, csv, contests 5 5 Requires at least: 3.0 6 Tested up to: 3.0. 37 Stable tag: 1. 06 Tested up to: 3.0.5 7 Stable tag: 1.1 8 8 9 9 This plugin adds a link to the "Edit Posts" view that will allow you to download a CSV of all comments for that particular post. … … 29 29 == Changelog == 30 30 31 = 1.1= 32 Minor bug fixes 31 33 = 1.0 = 32 34 * initial release
Note: See TracChangeset
for help on using the changeset viewer.