Plugin Directory

Changeset 1603080


Ignore:
Timestamp:
02/24/2017 07:39:04 PM (9 years ago)
Author:
shah.neel
Message:

Updating plugin to v1.5.7

Location:
site-setup-wizard
Files:
67 added
5 edited

Legend:

Unmodified
Added
Removed
  • site-setup-wizard/trunk/admin/step2_process.php

    r1442718 r1603080  
    6363    $this->ssw_debug_log('step2_process', 'next_stage', $next_stage);
    6464    $endtime = current_time('mysql');
    65     $ssw_process_query =  'UPDATE '.$ssw_main_table.' SET user_id = \''.$current_user_id.'\', admin_email = \''.$admin_email.'\',
    66     admin_user_id = \''.$admin_user_id.'\', path = \''.$path.'\', title = \''.$title.'\',
    67     privacy = \''.$privacy.'\', next_stage = \''.$next_stage.'\', endtime = \''.$endtime.'\' WHERE user_id = '.$current_user_id.' and site_created = false and wizard_completed = false';
    68     $this->ssw_debug_log('step2_process', 'ssw_process_query', $ssw_process_query);
     65
    6966    /* Throw Error if site address is illegal */
    7067    if( $is_banned_site == 1) {
     
    7269    }
    7370    else {
    74         $result = $wpdb->query( $ssw_process_query );
     71        $result = $wpdb->update(
     72            $ssw_main_table,
     73            array(
     74                'admin_email' => $admin_email,
     75                'admin_user_id' => $admin_user_id,
     76                'path' => $path,
     77                'title' => $title,
     78                'privacy' => $privacy,
     79                'next_stage' => $next_stage,
     80                'endtime' => $endtime
     81            ),
     82            array(
     83                'user_id' => $current_user_id,
     84                'site_created' => false,
     85                'wizard_completed' => false
     86            )
     87        );
     88
    7589        $this->ssw_log_sql_error($wpdb->last_error);
    7690    }
  • site-setup-wizard/trunk/admin/step3_process.php

    r1446127 r1603080  
    1111   
    1212    $endtime = current_time('mysql');
    13     $ssw_process_query = 'UPDATE '.$ssw_main_table.' SET theme = \''.$theme.'\', next_stage = \''.$next_stage.'\',
    14     endtime = \''.$endtime.'\' WHERE user_id = '.$current_user_id.' and wizard_completed = false';
    15     $this->ssw_debug_log('step3_process', 'ssw_process_query', $ssw_process_query);
    16    
    17     $result = $wpdb->query( $ssw_process_query );
     13
     14    $result = $wpdb->update(
     15        $ssw_main_table,
     16        array(
     17            'theme' => $theme,
     18            'next_stage' => $next_stage,
     19            'endtime' => $endtime
     20        ),
     21        array(
     22            'user_id' => $current_user_id,
     23            'wizard_completed' => false
     24        )
     25    );
     26
    1827    $this->ssw_log_sql_error($wpdb->last_error);
    1928   
  • site-setup-wizard/trunk/admin/step4_process.php

    r1442718 r1603080  
    2323   
    2424    $endtime = current_time('mysql');
    25     $ssw_process_query = 'UPDATE '.$ssw_main_table.' SET plugins_list = \''.$serialized_plugins_to_install_group.'\',
    26     next_stage = \''.$next_stage.'\', endtime = \''.$endtime.'\' WHERE user_id = '.$current_user_id.' and wizard_completed = false';
    27     $this->ssw_debug_log('step4_process', 'ssw_process_query', $ssw_process_query);
    28    
    29     $result = $wpdb->query( $ssw_process_query );
     25
     26    $result = $wpdb->update(
     27        $ssw_main_table,
     28        array(
     29            'plugins_list' => $serialized_plugins_to_install_group,
     30            'next_stage' => $next_stage,
     31            'endtime' => $endtime
     32        ),
     33        array(
     34            'user_id' => $current_user_id,
     35            'wizard_completed' => false
     36        )
     37    );
     38
    3039    $this->ssw_log_sql_error($wpdb->last_error);
    3140   
  • site-setup-wizard/trunk/readme.txt

    r1557794 r1603080  
    33Tags: plugin, multisite, site setup wizard, site registration, site creation, create site, wp-signup
    44Requires at least: 4.0
    5 Tested up to: 4.7
     5Tested up to: 4.7.2
    66Stable tag: trunk
    77License: GPLv2 or later
    88License URI: https://www.gnu.org/licenses/gpl-2.0.html
    9 Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=2V9UGN9L5547U&lc=US&item_name=Site%20Setup%20Wizard%20Plugin&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted
     9Donate link: http://neelshah.info
    1010
    1111Offers registered users flexibility to select site type, plugins, privacy and many other settings before creating a new site.
     
    7575== Upgrade Notice ==
    7676
     77= 1.5.7 =
     78Fixed issue related to not allowing users to create sites with a single quote in the site title
     79
    7780= 1.5.6 =
    7881Added new feature to hide selected Themes and Plugins from wizard steps.
     
    173176
    174177== Changelog ==
    175 = 1.5.4 =
     178= 1.5.7 =
     179* Fixed [Issue #42](https://github.com/neelakansha85/site-setup-wizard/issues/42).
     180
     181= 1.5.6 =
    176182* Added a new feature to hide selected Themes from theme selection page. Please refer to [Issue #35](https://github.com/neelakansha85/site-setup-wizard/issues/35) for additional details.
    177183* Added a new feature to hide selected Plugins from plugins selection (Features) page. Please refer to [Issue #36](https://github.com/neelakansha85/site-setup-wizard/issues/36) for additional details.
  • site-setup-wizard/trunk/site-setup-wizard.php

    r1465575 r1603080  
    77 * Author URI: http://neelshah.info
    88 * License: GPL2
    9  * Version: 1.5.6
     9 * Version: 1.5.7
    1010 */
    1111
     
    2828define('SSW_USER_ROLE_KEY', 'nsd_ssw_user_role');
    2929define('SSW_VERSION_KEY', 'nsd_ssw_version');
    30 define('SSW_VERSION_NUM', '1.5.6');
     30define('SSW_VERSION_NUM', '1.5.7');
    3131
    3232
Note: See TracChangeset for help on using the changeset viewer.