Plugin Directory

Changeset 642439


Ignore:
Timestamp:
12/20/2012 06:13:44 PM (13 years ago)
Author:
6Scan
Message:

Minor bugfixes

Location:
6scan-backup/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • 6scan-backup/trunk/6scan.php

    r637584 r642439  
    55Description: 6Scan Backup goes beyond existing backup plugins, easily and automatically creating backups of your site and securely storing them in the cloud.
    66Author: 6Scan
    7 Version: 2.3.0
     7Version: 2.3.1
    88Author URI: http://www.6scan.com
    99*/
  • 6scan-backup/trunk/admin/includes/common.php

    r637584 r642439  
    44    die( 'No direct access allowed' );
    55
    6 define ( 'SIXSCAN_VERSION' ,                            '2.3.0.0' );
     6define ( 'SIXSCAN_VERSION' ,                            '2.3.1.0' );
    77define ( 'SIXSCAN_HTACCESS_VERSION' ,                   '1' );
    88
     
    9393define ( 'SIXSCAN_SIGNATURE_LINKS_DELIMITER',           "\n" );
    9494define ( 'SIXSCAN_SIGNATURE_MULTIPART_DELIMITER',       '###UZhup3v1ENMefI7Wy44QNppgZmp0cu6RPenZewotclc2ZCWUDE4zAfXIJX354turrscbFBL2pOiKpiNLYosm6Z1Qp8b3PNjgd1xqtuskjcT9MC4fZvQfx7FPUDF11oTiTrMeayQr7JHk3UuEK7fR0###' );
    95 define ( 'SIXSCAN_SIGNATURE_SCANNER_IP_LIST',           '108.59.1.37, 108.59.5.197, 108.59.2.209, 95.211.58.114, 95.211.70.82, 107.22.183.61, 78.47.11.131' );
     95define ( 'SIXSCAN_SIGNATURE_SCANNER_IP_LIST',           '108.59.1.37, 108.59.5.197, 108.59.2.209, 95.211.58.114, 95.211.70.82, 107.22.183.61, 78.47.11.131, 199.115.112.90' );
    9696define ( 'SIXSCAN_SIGNATURE_DEFAULT_PLACEHOLDER_LINK',  '/just/a/random/dir/to/avoid/htaccess/mixups\.php' );
    9797
  • 6scan-backup/trunk/admin/includes/installation.php

    r637584 r642439  
    8787    When the current page is 6Scan Dashboard - show him the registration page
    8888    */
    89     $just_activated = isset( $_GET[ 'activate' ] ) ? strtolower( $_GET[ 'activate' ] ) : '';
    90     $current_page = isset( $_GET[ 'page' ] ) ? strtolower( $_GET[ 'page' ] ) : '';
    91     $agree_val = isset( $_GET[ 'agree' ] ) ? strtolower( $_GET[ 'agree' ] ) : '';
     89    $just_activated = isset( $_REQUEST[ 'activate' ] ) ? strtolower( $_REQUEST[ 'activate' ] ) : '';
     90    $current_page = isset( $_REQUEST[ 'page' ] ) ? strtolower( $_REQUEST[ 'page' ] ) : '';
     91    $agree_val = isset( $_REQUEST[ 'agree' ] ) ? strtolower( $_REQUEST[ 'agree' ] ) : '';
    9292   
    9393    if ( $just_activated == 'true' ){
     
    109109        $registration_page = str_replace ( $replaced_values , $new_values , $registration_page );
    110110       
    111 
    112 
    113111        print $registration_page;
    114112        return FALSE;
     
    116114
    117115    /* Origin verification */
    118     if (! wp_verify_nonce( $_GET[ '_sixscannonce' ], 'sixscan_registration_html') ) die( 'Security failure' );
     116    if (! wp_verify_nonce( $_REQUEST[ '_sixscannonce' ], 'sixscan_registration_html') ) die( 'Security failure' );
    119117
    120118    /* User clicked 'yes'. Continue to registration */
    121     if ($agree_val == 'yes' ){
     119    if ( $agree_val == 'yes' ){
    122120        return TRUE;
    123121    }
     
    329327function sixscan_installation_register_with_server( $tmpkey ){
    330328   
    331     $admin_email = isset( $_GET['email'] ) ? $_GET['email'] : "";
     329    $admin_email = isset( $_REQUEST['email'] ) ? $_REQUEST['email'] : "";
    332330   
    333331    /*  If there is partner file, partner_id and partner_key are filled */
     
    411409        print "<p><h1>6Scan requires filesystem credentials to update signature files - fill the information below and click proceed</h1></p>";
    412410
    413     if ( ( $creds = request_filesystem_credentials( $url ) ) !== FALSE ){   
     411    /* request_filesystem_credentials() has to pass $_POST['email'] to the next registration stage */
     412    if ( ( $creds = request_filesystem_credentials( $url , '' , FALSE , FALSE, array( 'email' , 'agree' , '_sixscannonce' ) ) ) !== FALSE ){   
    414413        if ( ! WP_Filesystem( $creds ) ) {
    415414            /* Current POST data failed, present new form . Error is now "TRUE" */
    416             request_filesystem_credentials( $url , '' , TRUE );
     415            request_filesystem_credentials( $url , '' , TRUE , FALSE , array( 'email' , 'agree' , '_sixscannonce' ) );
    417416        }
    418417        else{           
  • 6scan-backup/trunk/data/regpage/reg.html

    r637584 r642439  
    308308            <h2 id='register_status_inf'>Create 6Scan Account.</h2>           
    309309        </div>
    310         <form method='get' action="" onsubmit="return check_submit();">                 
     310        <form method='post' action="" onsubmit="return check_submit();">                   
    311311            <input type=hidden name="page" value="_page_value_sixscan">
    312312            <input type=hidden name='_sixscannonce' value="_nonce_value_sixscan">
  • 6scan-backup/trunk/readme.txt

    r597897 r642439  
    11=== 6Scan Backup ===
    22Contributors: 6Scan
    3 Version: 2.2.9
     3Version: 2.3.1
    44Tags: backup, automatic backup, cloud, online, secured, restore, recovery
    55Requires at least: 3.0.0
    6 Tested up to: 3.4.2
     6Tested up to: 3.5
    77Stable tag: trunk
    88
     
    168168* Changed path references from 'direct' access constants (like 'ABSPATH') to their wp_filesystem counterparts (like $wp_filesystem->abspath). This is used to create backups in filesystems, where FTP credentials are required to access the files (Read/write permissions issues)
    169169
     170= 2.3.0 =
     171* Fixed a bug during install with wp_filesystem()
     172* When user clicks "Activation" he sees a local page with terms, textbox for his email address and an "Install" button. Registration data (user's email and url) will be passed to 6Scan server only after user clicks Install. 
     173* Supports Wordpress 3.5
     174
     175= 2.3.1 =
     176* Minor bugfixes
    170177
    171178== Upgrade Notice ==
Note: See TracChangeset for help on using the changeset viewer.