Changeset 1694832
- Timestamp:
- 07/11/2017 10:43:16 PM (9 years ago)
- Location:
- site-setup-wizard
- Files:
-
- 67 added
- 9 edited
-
tags/1.5.7 (added)
-
tags/1.5.7/admin (added)
-
tags/1.5.7/admin/create_new_site.php (added)
-
tags/1.5.7/admin/ssw_activate.php (added)
-
tags/1.5.7/admin/ssw_analytics_page.php (added)
-
tags/1.5.7/admin/ssw_breadcrumb_text.php (added)
-
tags/1.5.7/admin/ssw_cancel_skip_button.php (added)
-
tags/1.5.7/admin/ssw_default_options.php (added)
-
tags/1.5.7/admin/ssw_options_page.php (added)
-
tags/1.5.7/admin/ssw_save_options.php (added)
-
tags/1.5.7/admin/step1_process.php (added)
-
tags/1.5.7/admin/step2_process.php (added)
-
tags/1.5.7/admin/step3_process.php (added)
-
tags/1.5.7/admin/step4_process.php (added)
-
tags/1.5.7/admin/user_notification.php (added)
-
tags/1.5.7/css (added)
-
tags/1.5.7/css/bootstrap-wrapper.less (added)
-
tags/1.5.7/css/ssw-media.css (added)
-
tags/1.5.7/css/ssw-style-admin.css (added)
-
tags/1.5.7/css/ssw-style.css (added)
-
tags/1.5.7/images (added)
-
tags/1.5.7/images/add_new_icon.png (added)
-
tags/1.5.7/images/[email protected] (added)
-
tags/1.5.7/images/icon.png (added)
-
tags/1.5.7/images/[email protected] (added)
-
tags/1.5.7/js (added)
-
tags/1.5.7/js/ssw-analytics.js (added)
-
tags/1.5.7/js/ssw-main.js (added)
-
tags/1.5.7/js/ssw-options.js (added)
-
tags/1.5.7/lib (added)
-
tags/1.5.7/lib/bootstrap (added)
-
tags/1.5.7/lib/bootstrap/css (added)
-
tags/1.5.7/lib/bootstrap/css/bootstrap-theme.css (added)
-
tags/1.5.7/lib/bootstrap/css/bootstrap-theme.css.map (added)
-
tags/1.5.7/lib/bootstrap/css/bootstrap-theme.min.css (added)
-
tags/1.5.7/lib/bootstrap/css/bootstrap-theme.min.css.map (added)
-
tags/1.5.7/lib/bootstrap/css/bootstrap.css (added)
-
tags/1.5.7/lib/bootstrap/css/bootstrap.css.map (added)
-
tags/1.5.7/lib/bootstrap/css/bootstrap.min.css (added)
-
tags/1.5.7/lib/bootstrap/css/bootstrap.min.css.map (added)
-
tags/1.5.7/lib/bootstrap/fonts (added)
-
tags/1.5.7/lib/bootstrap/fonts/glyphicons-halflings-regular.eot (added)
-
tags/1.5.7/lib/bootstrap/fonts/glyphicons-halflings-regular.svg (added)
-
tags/1.5.7/lib/bootstrap/fonts/glyphicons-halflings-regular.ttf (added)
-
tags/1.5.7/lib/bootstrap/fonts/glyphicons-halflings-regular.woff (added)
-
tags/1.5.7/lib/bootstrap/fonts/glyphicons-halflings-regular.woff2 (added)
-
tags/1.5.7/lib/bootstrap/js (added)
-
tags/1.5.7/lib/bootstrap/js/bootstrap.js (added)
-
tags/1.5.7/lib/bootstrap/js/bootstrap.min.js (added)
-
tags/1.5.7/lib/bootstrap/js/npm.js (added)
-
tags/1.5.7/lib/nv.d3 (added)
-
tags/1.5.7/lib/nv.d3/nv.d3.css (added)
-
tags/1.5.7/lib/nv.d3/nv.d3.js (added)
-
tags/1.5.7/lib/nv.d3/nv.d3.min.css (added)
-
tags/1.5.7/lib/nv.d3/nv.d3.min.css.map (added)
-
tags/1.5.7/lib/nv.d3/nv.d3.min.js (added)
-
tags/1.5.7/lib/nv.d3/nv.d3.min.js.map (added)
-
tags/1.5.7/license.txt (added)
-
tags/1.5.7/readme.txt (added)
-
tags/1.5.7/site-setup-wizard.php (added)
-
tags/1.5.7/uninstall.php (added)
-
tags/1.5.7/wizard (added)
-
tags/1.5.7/wizard/finish.php (added)
-
tags/1.5.7/wizard/step1.php (added)
-
tags/1.5.7/wizard/step2.php (added)
-
tags/1.5.7/wizard/step3.php (added)
-
tags/1.5.7/wizard/step4.php (added)
-
trunk/admin/create_new_site.php (modified) (1 diff)
-
trunk/admin/ssw_default_options.php (modified) (1 diff)
-
trunk/admin/ssw_options_page.php (modified) (1 diff)
-
trunk/admin/ssw_save_options.php (modified) (1 diff)
-
trunk/css/ssw-style.css (modified) (2 diffs)
-
trunk/js/ssw-options.js (modified) (2 diffs)
-
trunk/readme.txt (modified) (4 diffs)
-
trunk/site-setup-wizard.php (modified) (3 diffs)
-
trunk/wizard/finish.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
site-setup-wizard/trunk/admin/create_new_site.php
r1441029 r1694832 26 26 if( !is_wp_error( $new_blog_id ) && $is_privacy_selection == true ) { 27 27 /* Set Privacy of the newly created blog to the privacy level selected durign the wizard */ 28 update_blog_option($new_blog_id, 'blog_public', $privacy , true);28 update_blog_option($new_blog_id, 'blog_public', $privacy); 29 29 } 30 30 $endtime = current_time('mysql'); -
site-setup-wizard/trunk/admin/ssw_default_options.php
r1465575 r1694832 47 47 'terms_of_use' => 'I accept the <a href="#terms-of-use">Terms of Use</a>', 48 48 'plugins_page_txt' => 'THIS STEP IS OPTIONAL! Select features to add functionality to your site. You can activate or deactivate these plugins as you need them from the admin\'s Plugins screen. Learn more about <a href="#available-plugins">available plugins here.</a>', 49 'finish_page_txt' => '', 49 50 'steps_name' => array( 50 51 'step1' => 'Start', -
site-setup-wizard/trunk/admin/ssw_options_page.php
r1465575 r1694832 122 122 <p class="description" id="ssw-plugins-page-txt-desc"> 123 123 <?php _e('Please enter the text you want to display on Plugins Selection (Step 4) page.'); ?> 124 </p> 125 </td> 126 </tr> 127 <tr> 128 <th scope="row"><label for="ssw-finish-page-txt"><?php echo esc_html('Finish Page Note') ?></label></th> 129 <td> 130 <textarea name="ssw-finish-page-txt" id="ssw-finish-page-txt" aria-describedby="ssw-finish-page-txt-desc" cols="60" rows="5"></textarea> 131 <p class="description" id="ssw-finish-page-txt-desc"> 132 <?php _e('Please enter the text you want to display on Finish page.'); ?> 124 133 </p> 125 134 </td> -
site-setup-wizard/trunk/admin/ssw_save_options.php
r1465575 r1694832 39 39 'hide_plugins' => $this->ssw_sanitize_option('to_array_on_comma', $_POST['ssw-hide-plugins']), 40 40 'plugins_page_txt' => $this->ssw_sanitize_option('allow_html', $_POST['ssw-plugins-page-txt']), 41 'finish_page_txt' => $this->ssw_sanitize_option('allow_html', $_POST['ssw-finish-page-txt']), 41 42 'steps_name' => array( 42 43 'step1' => $this->ssw_sanitize_option('sanitize_field', $_POST['ssw-step-1']), -
site-setup-wizard/trunk/css/ssw-style.css
r1446857 r1694832 47 47 margin-bottom: 0px; 48 48 margin-top: 8px; 49 display: inline-block; 49 50 } 50 51 … … 63 64 display:inline-block; 64 65 vertical-align:middle; 65 }66 /* Don't display error until it happens */67 .ssw-error {68 display:none;69 color: #ff1133;70 66 } 71 67 -
site-setup-wizard/trunk/js/ssw-options.js
r1465575 r1694832 79 79 var hidePlugins = document.getElementById("ssw-hide-plugins"); 80 80 var pluginsPageTxt = document.getElementById("ssw-plugins-page-txt"); 81 var finishPageTxt = document.getElementById("ssw-finish-page-txt"); 81 82 var privacySelection = document.getElementById("ssw-privacy-selection"); 82 83 var step1 = document.getElementById("ssw-step-1"); … … 117 118 hideThemes.value = options.hide_themes.join(", "); 118 119 hidePlugins.value = options.hide_plugins.join(", "); 119 pluginsPageTxt.innerHTML = options.plugins_page_txt; 120 pluginsPageTxt.innerHTML = options.plugins_page_txt ? options.plugins_page_txt : ""; 121 finishPageTxt.innerHTML = options.finish_page_txt ? options.finish_page_txt : ""; 120 122 privacySelection.checked = options.privacy_selection ? options.privacy_selection : false; 121 123 -
site-setup-wizard/trunk/readme.txt
r1603080 r1694832 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.25 Tested up to: 4.8 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 ://neelshah.info9 Donate link: https://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%3aNonHosted 10 10 11 11 Offers registered users flexibility to select site type, plugins, privacy and many other settings before creating a new site. … … 44 44 * Registers option 'nsd_ssw_user_role' with Admin's User Role value from main site in newly created site's option table 45 45 * Hide specific Themes or Plugins from the Wizard Steps. 46 * Allows super admins to perform additional checks if required before displaying all steps to a user. (Using [SSW Additional Checks](https:// github.com/neelakansha85/ssw-additional-checks) Plugin)46 * Allows super admins to perform additional checks if required before displaying all steps to a user. (Using [SSW Additional Checks](https://wordpress.org/plugins/ssw-additional-checks/) 47 47 * Option to map wordpress user role with Site Setup Wizard user roles (Currently in beta) 48 48 … … 74 74 75 75 == Upgrade Notice == 76 = 1.5.8 = 77 Fixed broken css issue when using Twenty Seventeen theme and Site Setup Wizard 76 78 77 79 = 1.5.7 = … … 176 178 177 179 == Changelog == 180 = 1.5.8 = 181 * Added new option to add custom message on the Finish page [Issue #44](https://github.com/neelakansha85/site-setup-wizard/issues/44) 182 * Fixed [Issue #43](https://github.com/neelakansha85/site-setup-wizard/issues/43) 183 178 184 = 1.5.7 = 179 185 * Fixed [Issue #42](https://github.com/neelakansha85/site-setup-wizard/issues/42). -
site-setup-wizard/trunk/site-setup-wizard.php
r1603080 r1694832 7 7 * Author URI: http://neelshah.info 8 8 * License: GPL2 9 * Version: 1.5. 79 * Version: 1.5.8 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. 7');30 define('SSW_VERSION_NUM', '1.5.8'); 31 31 32 32 … … 949 949 $hide_plugins = $options['hide_plugins']; 950 950 $plugins_page_txt = $options['plugins_page_txt']; 951 $finish_page_txt = $options['finish_page_txt']; 951 952 $steps_name = isset($options['steps_name']) ? $options['steps_name'] : ''; 952 953 $is_privacy_selection = isset($options['privacy_selection']) ? $options['privacy_selection'] : false; -
site-setup-wizard/trunk/wizard/finish.php
r1446857 r1694832 11 11 include(SSW_PLUGIN_DIR.'admin/ssw_breadcrumb_text.php'); 12 12 ?> 13 <p class="ssw-header-note"><?php _e($finish_page_txt); ?></p> 13 14 </div> 14 15 <fieldset class="ssw-fieldset">
Note: See TracChangeset
for help on using the changeset viewer.