Plugin Directory

Changeset 469683


Ignore:
Timestamp:
11/30/2011 10:17:44 PM (14 years ago)
Author:
manfer
Message:

Fixed: Bug. Nothing to do on register_scripts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • contact-form-7-bwp-recaptcha-extension/trunk/includes/CF7bwpCAPT.class.php

    r468226 r469683  
    99
    1010require_once( 'WPASDPlugin.class.php' );
     11require_once( dirname(__FILE__) . '/recaptcha/recaptchalib.php' );
    1112
    1213if ( ! class_exists( 'CF7bwpCAPT' ) ) {
     
    175176        function require_library() {}
    176177
    177         function register_scripts() {
    178             $use_ssl = isset( $_SERVER['HTTPS'] ) && $_SERVER['HTTPS'] == 'on';
    179             if ( $use_ssl ) {
    180                 $server = RECAPTCHA_API_SECURE_SERVER;
    181             } else {
    182                 $server = RECAPTCHA_API_SERVER;
    183             }
    184         }
     178        function register_scripts() {}
    185179
    186180        function register_actions() {
     
    419413            $html = $js_options;
    420414
    421             require_once( dirname(__FILE__) . '/recaptcha/recaptchalib.php' );
    422 
    423415            if ( function_exists( 'recaptcha_get_html' ) && !defined( 'BWP_CAPT_ADDED' ) ) {
    424416
Note: See TracChangeset for help on using the changeset viewer.