Forum Replies Created

Viewing 4 replies - 31 through 34 (of 34 total)
  • I am perfectly certain what this fix does and it certainly does not create a security risk. We also supply many WordPress plugins and hinestly the only poor practice here is the non-response from the developer. I appreciate ALL the moderatorsr and their efforts. As a provider responsible for 100s of domains, I have the following issue:

    1. The developer should never have forced V3, that should have been a toggle
    2. Because it went to V3, we actually had to generate new keys for every domain and adjust the configuration.
    3. To revert back, we need to do step 2 all over again

    During this entire process our clients are sufferring.

    Here is the fix for the issue with not saving multiple user roles and also to fix the label in the role selector.

    File: class-wppcp-menu.php.txt

    on 81 line:
    <div class=”” style=””>
    <input type=”checkbox” name=”wppcp_menu_roles-<?php echo $item->ID ;?>[]” id=”nav_menu_role-<?php echo $role; ?>-for-<?php echo $item->ID ;?>” <?php echo $checked; ?> value=”<?php echo $role; ?>” />
    <label for=”nav_menu_role-<?php echo $role; ?>-for-<?php echo $item->ID ;?>”>
    <?php echo esc_html( $name ); ?>
    </label>
    </div>

    on 101 line:
    $visibility_roles = isset($_POST[‘wppcp_menu_roles-‘.$menu_item_db_id]) ? $_POST[‘wppcp_menu_roles-‘.$menu_item_db_id] : array();

    The Sound Strategies development team is looking into this today. Hopefully they can get us a fix.

    I am experiencing the same problem with WP version 4.5.2 (not multi-site)…even with all plugins disabled, multiple user roles are not being saved…only a single user role will save…

Viewing 4 replies - 31 through 34 (of 34 total)