Plugin Directory

Changeset 456129


Ignore:
Timestamp:
10/26/2011 08:24:53 PM (14 years ago)
Author:
tyankee
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ultra-hide-comments-box/trunk/ultra-hide-comment-box.php

    r455741 r456129  
    11<?php
    22/*
    3 Plugin Name: Ultra Hide Comments Box
     3Plugin Name: Ultra Hide Comment Box
    44Plugin URI: http://www.skinzee.com/
    5 Description: Ultra Hide Comments Box helps to disable Add Comment box on posts belonging to specific Categories.
    6 Version: 1.1.1
     5Description: Ultra Hide Comment Box helps to disable Add Comment box on posts belonging to specific Categories.
     6Version: 1.0
    77Author: Custom Wordpress Themes
    88Author URI: http://www.skinzee.com/
     
    9393
    9494/* Check Comment posting */
    95 if (!function_exists(comment_posting_checker)) {
    96     function comment_posting_checker($commentdata) {
     95if (!function_exists(comment_posting_checker2)) {
     96    function comment_posting_checker2($commentdata) {
    9797     
    9898     /* Find existing Category selection */
     
    157157
    158158/* Spammers still post comments even if the Add Comment/ Leave Reply Box is not shown hence check all comments during comment posting */
    159 add_filter('preprocess_comment',    'comment_posting_checker', 10, 1);
     159add_filter('preprocess_comment',    'comment_posting_checker2', 10, 1);
    160160?>
Note: See TracChangeset for help on using the changeset viewer.