Plugin Directory

Changeset 1694832


Ignore:
Timestamp:
07/11/2017 10:43:16 PM (9 years ago)
Author:
shah.neel
Message:

Updating plugin to v1.5.8

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

Legend:

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

    r1441029 r1694832  
    2626        if( !is_wp_error( $new_blog_id ) && $is_privacy_selection == true ) {
    2727            /* 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);
    2929        }
    3030        $endtime = current_time('mysql');
  • site-setup-wizard/trunk/admin/ssw_default_options.php

    r1465575 r1694832  
    4747    'terms_of_use' => 'I accept the <a href="#terms-of-use">Terms of Use</a>',
    4848    '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' => '',
    4950    'steps_name' => array(
    5051        'step1' => 'Start',
  • site-setup-wizard/trunk/admin/ssw_options_page.php

    r1465575 r1694832  
    122122                    <p class="description" id="ssw-plugins-page-txt-desc">
    123123                        <?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.'); ?>
    124133                    </p>
    125134                </td>
  • site-setup-wizard/trunk/admin/ssw_save_options.php

    r1465575 r1694832  
    3939    'hide_plugins' => $this->ssw_sanitize_option('to_array_on_comma', $_POST['ssw-hide-plugins']),
    4040    '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']),
    4142    'steps_name' => array(
    4243        'step1' => $this->ssw_sanitize_option('sanitize_field', $_POST['ssw-step-1']),
  • site-setup-wizard/trunk/css/ssw-style.css

    r1446857 r1694832  
    4747    margin-bottom: 0px;
    4848    margin-top: 8px;
     49    display: inline-block;
    4950}
    5051
     
    6364    display:inline-block;
    6465    vertical-align:middle;
    65 }
    66 /* Don't display error until it happens */
    67 .ssw-error {
    68     display:none;
    69     color: #ff1133;
    7066}
    7167
  • site-setup-wizard/trunk/js/ssw-options.js

    r1465575 r1694832  
    7979    var hidePlugins = document.getElementById("ssw-hide-plugins");
    8080    var pluginsPageTxt = document.getElementById("ssw-plugins-page-txt");
     81    var finishPageTxt = document.getElementById("ssw-finish-page-txt");
    8182    var privacySelection = document.getElementById("ssw-privacy-selection");
    8283    var step1 = document.getElementById("ssw-step-1");
     
    117118    hideThemes.value = options.hide_themes.join(", ");
    118119    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 : "";
    120122    privacySelection.checked = options.privacy_selection ? options.privacy_selection : false;
    121123
  • site-setup-wizard/trunk/readme.txt

    r1603080 r1694832  
    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.2
     5Tested up to: 4.8
    66Stable tag: trunk
    77License: GPLv2 or later
    88License URI: https://www.gnu.org/licenses/gpl-2.0.html
    9 Donate link: http://neelshah.info
     9Donate 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
    1010
    1111Offers registered users flexibility to select site type, plugins, privacy and many other settings before creating a new site.
     
    4444* Registers option 'nsd_ssw_user_role' with Admin's User Role value from main site in newly created site's option table
    4545* 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/)
    4747* Option to map wordpress user role with Site Setup Wizard user roles (Currently in beta)
    4848
     
    7474
    7575== Upgrade Notice ==
     76= 1.5.8 =
     77Fixed broken css issue when using Twenty Seventeen theme and Site Setup Wizard
    7678
    7779= 1.5.7 =
     
    176178
    177179== 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
    178184= 1.5.7 =
    179185* Fixed [Issue #42](https://github.com/neelakansha85/site-setup-wizard/issues/42).
  • site-setup-wizard/trunk/site-setup-wizard.php

    r1603080 r1694832  
    77 * Author URI: http://neelshah.info
    88 * License: GPL2
    9  * Version: 1.5.7
     9 * Version: 1.5.8
    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.7');
     30define('SSW_VERSION_NUM', '1.5.8');
    3131
    3232
     
    949949            $hide_plugins = $options['hide_plugins'];
    950950            $plugins_page_txt = $options['plugins_page_txt'];
     951            $finish_page_txt = $options['finish_page_txt'];
    951952            $steps_name = isset($options['steps_name']) ? $options['steps_name'] : '';
    952953            $is_privacy_selection = isset($options['privacy_selection']) ? $options['privacy_selection'] : false;
  • site-setup-wizard/trunk/wizard/finish.php

    r1446857 r1694832  
    1111           include(SSW_PLUGIN_DIR.'admin/ssw_breadcrumb_text.php');
    1212           ?>
     13           <p class="ssw-header-note"><?php _e($finish_page_txt); ?></p>
    1314        </div>
    1415        <fieldset class="ssw-fieldset">       
Note: See TracChangeset for help on using the changeset viewer.