Plugin Directory

Changeset 1303361

Timestamp:
12/08/2015 10:57:53 PM (9 years ago)
Author:
nickmomrik
Message:

Minor cleanup and version bump to 1.2.

Location:
comment-count
Files:
3 added
2 edited

Legend:

Unmodified
Added
Removed
  • comment-count/trunk/comment-count.php

    r155528 r1303361  
    22/*
    33Plugin Name: Comment Count
    4 Plugin URI: http://wordpress.org/extend/plugins/comment-count/
     4Plugin URI: http/plugins/comment-count/
    55Description: Counts the total number of comments.
    6 Version: 1.1
     6Version: 1.
    77Author: Nick Momrik
    88Author URI: http://nickmomrik.com/
    ��  
    1111function mdv_comment_count() {
    1212    global $wpdb;
    13     $request = "SELECT COUNT(*) FROM $wpdb->comments WHERE comment_approved = '1'";
    1413
    15     echo $wpdb->get_var($request);
     14    echo );
    1615}
    17 ?>
  • comment-count/trunk/readme.txt

    r248713 r1303361  
    22Contributors: nickmomrik
    33Tags: comments, count
    4 Stable tag: trunk
     4Stable tag: 1.2
     5Tested up to: 4.4
    56
    67Counts the number of comments.
Note: See TracChangeset for help on using the changeset viewer.