Changeset 1603080
- Timestamp:
- 02/24/2017 07:39:04 PM (9 years ago)
- Location:
- site-setup-wizard
- Files:
-
- 67 added
- 5 edited
-
tags/1.5.6 (added)
-
tags/1.5.6/admin (added)
-
tags/1.5.6/admin/create_new_site.php (added)
-
tags/1.5.6/admin/ssw_activate.php (added)
-
tags/1.5.6/admin/ssw_analytics_page.php (added)
-
tags/1.5.6/admin/ssw_breadcrumb_text.php (added)
-
tags/1.5.6/admin/ssw_cancel_skip_button.php (added)
-
tags/1.5.6/admin/ssw_default_options.php (added)
-
tags/1.5.6/admin/ssw_options_page.php (added)
-
tags/1.5.6/admin/ssw_save_options.php (added)
-
tags/1.5.6/admin/step1_process.php (added)
-
tags/1.5.6/admin/step2_process.php (added)
-
tags/1.5.6/admin/step3_process.php (added)
-
tags/1.5.6/admin/step4_process.php (added)
-
tags/1.5.6/admin/user_notification.php (added)
-
tags/1.5.6/css (added)
-
tags/1.5.6/css/bootstrap-wrapper.less (added)
-
tags/1.5.6/css/ssw-media.css (added)
-
tags/1.5.6/css/ssw-style-admin.css (added)
-
tags/1.5.6/css/ssw-style.css (added)
-
tags/1.5.6/images (added)
-
tags/1.5.6/images/add_new_icon.png (added)
-
tags/1.5.6/images/add_new_icon@5x.png (added)
-
tags/1.5.6/images/icon.png (added)
-
tags/1.5.6/images/icon@5x.png (added)
-
tags/1.5.6/js (added)
-
tags/1.5.6/js/ssw-analytics.js (added)
-
tags/1.5.6/js/ssw-main.js (added)
-
tags/1.5.6/js/ssw-options.js (added)
-
tags/1.5.6/lib (added)
-
tags/1.5.6/lib/bootstrap (added)
-
tags/1.5.6/lib/bootstrap/css (added)
-
tags/1.5.6/lib/bootstrap/css/bootstrap-theme.css (added)
-
tags/1.5.6/lib/bootstrap/css/bootstrap-theme.css.map (added)
-
tags/1.5.6/lib/bootstrap/css/bootstrap-theme.min.css (added)
-
tags/1.5.6/lib/bootstrap/css/bootstrap-theme.min.css.map (added)
-
tags/1.5.6/lib/bootstrap/css/bootstrap.css (added)
-
tags/1.5.6/lib/bootstrap/css/bootstrap.css.map (added)
-
tags/1.5.6/lib/bootstrap/css/bootstrap.min.css (added)
-
tags/1.5.6/lib/bootstrap/css/bootstrap.min.css.map (added)
-
tags/1.5.6/lib/bootstrap/fonts (added)
-
tags/1.5.6/lib/bootstrap/fonts/glyphicons-halflings-regular.eot (added)
-
tags/1.5.6/lib/bootstrap/fonts/glyphicons-halflings-regular.svg (added)
-
tags/1.5.6/lib/bootstrap/fonts/glyphicons-halflings-regular.ttf (added)
-
tags/1.5.6/lib/bootstrap/fonts/glyphicons-halflings-regular.woff (added)
-
tags/1.5.6/lib/bootstrap/fonts/glyphicons-halflings-regular.woff2 (added)
-
tags/1.5.6/lib/bootstrap/js (added)
-
tags/1.5.6/lib/bootstrap/js/bootstrap.js (added)
-
tags/1.5.6/lib/bootstrap/js/bootstrap.min.js (added)
-
tags/1.5.6/lib/bootstrap/js/npm.js (added)
-
tags/1.5.6/lib/nv.d3 (added)
-
tags/1.5.6/lib/nv.d3/nv.d3.css (added)
-
tags/1.5.6/lib/nv.d3/nv.d3.js (added)
-
tags/1.5.6/lib/nv.d3/nv.d3.min.css (added)
-
tags/1.5.6/lib/nv.d3/nv.d3.min.css.map (added)
-
tags/1.5.6/lib/nv.d3/nv.d3.min.js (added)
-
tags/1.5.6/lib/nv.d3/nv.d3.min.js.map (added)
-
tags/1.5.6/license.txt (added)
-
tags/1.5.6/readme.txt (added)
-
tags/1.5.6/site-setup-wizard.php (added)
-
tags/1.5.6/uninstall.php (added)
-
tags/1.5.6/wizard (added)
-
tags/1.5.6/wizard/finish.php (added)
-
tags/1.5.6/wizard/step1.php (added)
-
tags/1.5.6/wizard/step2.php (added)
-
tags/1.5.6/wizard/step3.php (added)
-
tags/1.5.6/wizard/step4.php (added)
-
trunk/admin/step2_process.php (modified) (2 diffs)
-
trunk/admin/step3_process.php (modified) (1 diff)
-
trunk/admin/step4_process.php (modified) (1 diff)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/site-setup-wizard.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
site-setup-wizard/trunk/admin/step2_process.php
r1442718 r1603080 63 63 $this->ssw_debug_log('step2_process', 'next_stage', $next_stage); 64 64 $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 69 66 /* Throw Error if site address is illegal */ 70 67 if( $is_banned_site == 1) { … … 72 69 } 73 70 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 75 89 $this->ssw_log_sql_error($wpdb->last_error); 76 90 } -
site-setup-wizard/trunk/admin/step3_process.php
r1446127 r1603080 11 11 12 12 $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 18 27 $this->ssw_log_sql_error($wpdb->last_error); 19 28 -
site-setup-wizard/trunk/admin/step4_process.php
r1442718 r1603080 23 23 24 24 $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 30 39 $this->ssw_log_sql_error($wpdb->last_error); 31 40 -
site-setup-wizard/trunk/readme.txt
r1557794 r1603080 3 3 Tags: plugin, multisite, site setup wizard, site registration, site creation, create site, wp-signup 4 4 Requires at least: 4.0 5 Tested up to: 4.7 5 Tested up to: 4.7.2 6 6 Stable tag: trunk 7 7 License: GPLv2 or later 8 8 License URI: https://www.gnu.org/licenses/gpl-2.0.html 9 Donate link: http s://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=2V9UGN9L5547U&lc=US&item_name=Site%20Setup%20Wizard%20Plugin¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted9 Donate link: http://neelshah.info 10 10 11 11 Offers registered users flexibility to select site type, plugins, privacy and many other settings before creating a new site. … … 75 75 == Upgrade Notice == 76 76 77 = 1.5.7 = 78 Fixed issue related to not allowing users to create sites with a single quote in the site title 79 77 80 = 1.5.6 = 78 81 Added new feature to hide selected Themes and Plugins from wizard steps. … … 173 176 174 177 == 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 = 176 182 * 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. 177 183 * 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 7 7 * Author URI: http://neelshah.info 8 8 * License: GPL2 9 * Version: 1.5. 69 * Version: 1.5.7 10 10 */ 11 11 … … 28 28 define('SSW_USER_ROLE_KEY', 'nsd_ssw_user_role'); 29 29 define('SSW_VERSION_KEY', 'nsd_ssw_version'); 30 define('SSW_VERSION_NUM', '1.5. 6');30 define('SSW_VERSION_NUM', '1.5.7'); 31 31 32 32
Note: See TracChangeset
for help on using the changeset viewer.