Plugin Directory

Changeset 833716


Ignore:
Timestamp:
01/06/2014 08:49:47 AM (12 years ago)
Author:
6Scan
Message:

quoted add_filter functions in loginsec

Location:
6scan-protection/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • 6scan-protection/trunk/admin/includes/common.php

    r829751 r833716  
    44    die( 'No direct access allowed' );
    55
    6 define ( 'SIXSCAN_VERSION' ,                            '3.0.5.3' );
     6define ( 'SIXSCAN_VERSION' ,                            '3.0.5.4' );
    77define ( 'SIXSCAN_HTACCESS_VERSION' ,                   '1' );
    88
  • 6scan-protection/trunk/modules/signatures/loginsec.php

    r652986 r833716  
    88
    99    /*  Filter on error, that is displayed to user when authentication failed */
    10     add_filter( 'login_errors' , sixscan_signatures_loginsec_fault_message );   
     10    add_filter( 'login_errors' , 'sixscan_signatures_loginsec_fault_message' );
    1111   
    1212    /*  User authorization was completed successfully */   
    13     add_action( 'set_current_user' , sixscan_signatures_loginsec_login_success );
     13    add_action( 'set_current_user' , 'sixscan_signatures_loginsec_login_success' );
    1414
    1515    /* Action on authentication attempt */
    16     add_filter( 'authenticate' , sixscan_signatures_loginsec_analyze , 20 , 3 );
    17 
     16    add_filter( 'authenticate' , 'sixscan_signatures_loginsec_analyze' , 20 , 3 );
    1817}
    1918
Note: See TracChangeset for help on using the changeset viewer.