Plugin Directory

Changeset 3215477


Ignore:
Timestamp:
12/31/2024 09:32:23 PM (15 months ago)
Author:
ce21com
Message:

SSO fails for Wordpress Plugin 2.2.1
Potential issue with WP Plugin 2.2.1

Location:
ce21-suite/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ce21-suite/trunk/admin/js/post-quick-edit-script.js

    r2843982 r3215477  
    3939                    $row.find("input.qbe_group.be_group").each(function(){
    4040                        if($(this).val() == val){
    41                             $(this).attr('checked', true);
     41                            $(this).prop('checked', true);
    4242                        }
    4343                    });
  • ce21-suite/trunk/single-sign-on-ce21.php

    r3205463 r3215477  
    1616 * Plugin URI:        https://www.ce21.com
    1717 * Description:       CE21 Suite.
    18  * Version:           2.2.1
     18 * Version:           2.2.2
    1919 * Author:            CE21
    2020 * Author URI:        https://www.ce21.com
     
    3535 * Rename this for your plugin and update it as you release new versions.
    3636 */
    37 define( 'SINGLE_SIGN_ON_CE21_VERSION', '2.1.1' );
     37define( 'SINGLE_SIGN_ON_CE21_VERSION', '2.2.2' );
    3838
    3939define( 'SINGLE_SIGN_ON_CE21__PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
     
    722722                ce21_wp_error_handle();
    723723
    724                 if (!empty($authentication_plan_value) && !empty($result_ce21)) {
     724                if (!empty($authentication_plan_value) && !empty($result_ce21) && !is_page( 'article-authentication-ce21' )) {
    725725
    726726                    if (!is_user_logged_in()) {
     
    751751                            //$current_url_ce21 = home_url(add_query_arg(array(), $wp->request));
    752752                            //$return_url_ce21 = get_option('authorizeURI_ce21') . "/wpauthorize/login?returnURL=" . $current_url_ce21;
    753                            
    754                             $postId_ce21 = get_the_ID();
    755                             $current_url_ce21 = home_url("article-authentication-ce21") . '/?postid=' . $postId_ce21 . '&_=' . round(microtime(true) * 1000);
    756                             $return_url_ce21 = get_option('authorizeURI_ce21') . "/WPAuthorize/LoginNew?returnURL=" . $current_url_ce21;
    757                            
    758                             ?>
    759                             <script type="text/javascript">location.href = "<?php echo esc_url($return_url_ce21); ?>";</script><?php
    760                             exit;
     753                     
     754                                $postId_ce21 = get_the_ID();
     755                                $current_url_ce21 = home_url("article-authentication-ce21") . '/?postid=' . $postId_ce21 . '&_=' . round(microtime(true) * 1000);
     756                                $return_url_ce21 = get_option('authorizeURI_ce21') . "/WPAuthorize/LoginNew?returnURL=" . $current_url_ce21;
     757                               
     758                                ?>
     759                                <script type="text/javascript">location.href = "<?php echo esc_url($return_url_ce21); ?>";</script><?php
     760                                exit;
     761                             
    761762                        }
    762763                    }
Note: See TracChangeset for help on using the changeset viewer.