function __construct($options_name)
 {
     parent::__construct($options_name);
     $this->register_default_options();
     $this->require_library();
     $this->register_actions();
     $this->register_filters();
 }
예제 #2
0
 function __construct($options_name)
 {
     parent::__construct($options_name);
     $this->register_default_options();
     // require the recaptcha library
     $this->require_library();
     // register the hooks
     $this->register_actions();
     $this->register_filters();
 }
예제 #3
0
 function __construct($options_name)
 {
     // instantiate super class (sets: options, environment, options_name)
     parent::__construct($options_name);
     $this->register_default_options();
     // require the recaptcha library
     $this->require_library();
     // verify mcrypt is loaded
     $this->verify_mcrypt();
     // register the hooks
     $this->register_actions();
     $this->register_filters();
     // keep this in the arsenal just in case
     // disable the make_clickable filter cause it screws things up
     /*
                 if ($this->mailhide_enabled()) {
                    remove_filter('comment_text', 'make_clickable', 9);
                 }*/
 }