Plugin Directory

Changeset 3111820


Ignore:
Timestamp:
07/03/2024 02:54:50 PM (21 months ago)
Author:
Infusionsoft
Message:

Fix related to support for Wordpress MultiSite capabilities.

Location:
infusionsoft-official-opt-in-forms/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • infusionsoft-official-opt-in-forms/trunk/changelog.txt

    r3108947 r3111820  
     1version 1.1.3
     2- Fix related to support for Wordpress MultiSite capabilities.
     3
    14version 1.1.2
    25- Updated to support Wordpress MultiSite capabilities.
  • infusionsoft-official-opt-in-forms/trunk/dashboard/dashboard.php

    r3108944 r3111820  
    285285     */
    286286    function dashboard_save_settings( $options = array() ) {
    287         if ( (defined( 'DISALLOW_UNFILTERED_HTML' ) && DISALLOW_UNFILTERED_HTML ) || !current_user_can('unfiltered_html')) {
     287       $data = get_userdata( get_current_user_id() );
     288        $current_user_caps=array();
     289        if ( is_object( $data) ) {
     290            $current_user_caps = $data->allcaps;
     291        }
     292
     293       
     294        if ( (defined( 'DISALLOW_UNFILTERED_HTML' ) && DISALLOW_UNFILTERED_HTML ) || !$current_user_caps['unfiltered_html']) {
    288295            $error_message='unauthorized.';
    289296            die( $error_message );
  • infusionsoft-official-opt-in-forms/trunk/infusionsoft.php

    r3108947 r3111820  
    33 * Plugin Name: Keap Official Opt-in Forms
    44 * Plugin URI: https://www.keap.com
    5  * Version: 1.1.2
     5 * Version: 1.1.3
    66 * Description: Keap Official Opt-in Forms
    77 * Author: Keap
  • infusionsoft-official-opt-in-forms/trunk/readme.txt

    r3108947 r3111820  
    55Tested up to: 6.5.5
    66Requires PHP: 8.0
    7 Stable tag: 1.1.2
     7Stable tag: 1.1.3
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    8282== Changelog ==
    8383
     84= 1.1.3 =
     85* Fix related to support for Wordpress MultiSite capabilities.
     86
    8487= 1.1.2 =
    8588* Updated to support Wordpress MultiSite capabilities.
     
    135138== Upgrade Notice ==
    136139
     140= 1.1.3 =
     141Fix related to support for Wordpress MultiSite capabilities.
     142
    137143= 1.1.2 =
    138144Updated to support Wordpress MultiSite capabilities.
Note: See TracChangeset for help on using the changeset viewer.