Changeset 1303361
- Timestamp:
- 12/08/2015 10:57:53 PM (9 years ago)
- Location:
- comment-count
- Files:
-
- 3 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
comment-count/trunk/comment-count.php
r155528 r1303361 2 2 /* 3 3 Plugin Name: Comment Count 4 Plugin URI: http ://wordpress.org/extend/plugins/comment-count/4 Plugin URI: http/plugins/comment-count/ 5 5 Description: Counts the total number of comments. 6 Version: 1. 16 Version: 1. 7 7 Author: Nick Momrik 8 8 Author URI: http://nickmomrik.com/ … �� 11 11 function mdv_comment_count() { 12 12 global $wpdb; 13 $request = "SELECT COUNT(*) FROM $wpdb->comments WHERE comment_approved = '1'";14 13 15 echo $wpdb->get_var($request);14 echo ); 16 15 } 17 ?> -
comment-count/trunk/readme.txt
r248713 r1303361 2 2 Contributors: nickmomrik 3 3 Tags: comments, count 4 Stable tag: trunk 4 Stable tag: 1.2 5 Tested up to: 4.4 5 6 6 7 Counts the number of comments.
Note: See TracChangeset
for help on using the changeset viewer.