Plugin Directory

Changeset 3275481


Ignore:
Timestamp:
04/17/2025 07:42:13 AM (12 months ago)
Author:
teamwpminiorange
Message:

Oauth SSO plugin v6.26.8

Location:
miniorange-login-with-eve-online-google-facebook
Files:
348 added
12 deleted
15 edited

Legend:

Unmodified
Added
Removed
  • miniorange-login-with-eve-online-google-facebook/trunk/admin/class-mo-oauth-client-admin.php

    r2950976 r3275481  
    6262        );
    6363        $url           .= '&tab=config';
    64         $url2           = $url . '&tab=licensing';
     64        $url2           = MO_OAUTH_CLIENT_PRICING_PLAN;
    6565        $settings_link  = "<a href='$url'>Configure</a>";
    66         $settings_link2 = "<a href='$url2'>Premium Plans</a>";
     66        $settings_link2 = "<a href='$url2' target='_blank'>Premium Plans</a>";
    6767        array_push( $actions, $settings_link2 );
    6868        array_push( $actions, $settings_link );
    6969        return array_reverse( $actions );
    70     }
    71 
    72     /**
    73      * Register the stylesheets for the admin area.
    74      */
    75     public function enqueue_styles() {
    76         if ( isset( $_REQUEST['tab'] ) && 'licensing' === $_REQUEST['tab'] ) { //phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Ignoring nonce recommendation because we are fetching data from URL directly and not form submission.
    77             wp_enqueue_style( 'mo_oauth_bootstrap_css', plugins_url( 'css/bootstrap/bootstrap.min.css', __FILE__ ), array(), '5.1.3' );
    78             wp_enqueue_style( 'mo_oauth_license_page_style', plugins_url( 'css/mo-oauth-licensing.min.css', __FILE__ ), array(), MO_OAUTH_CSS_JS_VERSION );
    79         }
    80     }
    81 
    82     /**
    83      * Register the JavaScript for the admin area.
    84      */
    85     public function enqueue_scripts() {
    86         if ( isset( $_REQUEST['tab'] ) && 'licensing' === $_REQUEST['tab'] ) { //phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Ignoring nonce recommendation because we are fetching data from URL directly and not form submission.
    87             wp_enqueue_script( 'mo_oauth_modernizr_script', plugins_url( 'js/modernizr.min.js', __FILE__ ), array(), '3.6.0', false );
    88             wp_enqueue_script( 'mo_oauth_popover_script', plugins_url( 'js/bootstrap/popper.min.js', __FILE__ ), array(), '2.0.1', false );
    89             wp_enqueue_script( 'mo_oauth_bootstrap_script', plugins_url( 'js/bootstrap/bootstrap.min.js', __FILE__ ), array(), '5.1.3', false );
    90         }
    9170    }
    9271
     
    11089            'administrator',
    11190            'mo_oauth_settings'
    112         );
    113         add_submenu_page(
    114             $slug,
    115             'Licencnce',
    116             '<div style="color:orange;display: flex;align-items: center;gap: 5px"><img src="' . esc_url( dirname( plugin_dir_url( __FILE__ ) ) ) . '/admin/images/prem.png" alt="miniOrange Premium Plans Logo" style="height:16px;width:16px"> ' . __( 'Premium Plans', 'miniorange-login-with-eve-online-google-facebook' ) . '</div>',
    117             'administrator',
    118             '?page=mo_oauth_settings&tab=licensing'
    11991        );
    12092        add_submenu_page(
  • miniorange-login-with-eve-online-google-facebook/trunk/admin/partials/account/partials/register.php

    r3047357 r3275481  
    137137    </form>
    138138    </td><td>
    139     <a href="<?php echo esc_url( get_site_url( null, '/wp-admin/' ) . 'admin.php?page=mo_oauth_settings&tab=licensing' ); ?>"><input type="button" class="button button-large mo_oauth_configure_btn" value="<?php esc_attr_e( 'Check Licensing Plans', 'miniorange-login-with-eve-online-google-facebook' ); ?>" /></a>
     139    <a href="<?php echo esc_url( MO_OAUTH_CLIENT_PRICING_PLAN ); ?>" target="_blank"><input type="button" class="button button-large mo_oauth_configure_btn" value="<?php esc_attr_e( 'Check Licensing Plans', 'miniorange-login-with-eve-online-google-facebook' ); ?>" /></a>
    140140    </td>
    141141    </tr>
  • miniorange-login-with-eve-online-google-facebook/trunk/admin/partials/apps/partials/app-list.php

    r2942951 r3275481  
    101101        echo "<h3 class='mo_app_heading' style='font-size:23px'>" . esc_html__( 'Applications List', 'miniorange-login-with-eve-online-google-facebook' ) . "</h3><hr class='mo-divider'></br>";
    102102        if ( ( is_array( $appslist ) && count( $appslist ) > 0 ) || get_option( 'mo_oauth_setup_wizard_app' ) ) {
    103             echo "<p class='mo_oauth_upgrade_warning'>" . esc_html__( 'You can only add 1 application with free version. Upgrade to', 'miniorange-login-with-eve-online-google-facebook' ) . " <a href='admin.php?page=mo_oauth_settings&tab=licensing'><b>enterprise</b></a> " . esc_html__( 'to add more.', 'miniorange-login-with-eve-online-google-facebook' ) . '</p>';
     103            echo "<p class='mo_oauth_upgrade_warning'>" . esc_html__( 'You can only add 1 application with free version. Upgrade to', 'miniorange-login-with-eve-online-google-facebook' ) . " <a href='" . esc_url( MO_OAUTH_CLIENT_PRICING_PLAN ) . "' target='_blank'><b>enterprise</b></a> " . esc_html__( 'to add more.', 'miniorange-login-with-eve-online-google-facebook' ) . '</p>';
    104104        }
    105105        echo '<table class="mo_oauth_app_list" height="auto" width="100%" align="center"
  • miniorange-login-with-eve-online-google-facebook/trunk/admin/partials/apps/partials/attr-role-mapping.php

    r3198759 r3275481  
    229229            <td></td><td>
    230230            <b><p style="margin-left:2px" class=" mop_table">' . esc_html__( 'Advanced attribute mapping is available in', 'miniorange-login-with-eve-online-google-facebook' ) . '
    231             <a href="admin.php?page=mo_oauth_settings&amp;tab=licensing">premium</a> version.</b>
     231            <a href="' . esc_url( MO_OAUTH_CLIENT_PRICING_PLAN ) . '" target="_blank">premium</a> version.</b>
    232232            </p>
    233233            </td>
     
    261261            <tr></tr>
    262262            <tr><td  colspan="2">
    263             <h3 class="mo_oauth_attribute_page_font">' . esc_html__( 'Map Custom Attributes ', 'miniorange-login-with-eve-online-google-facebook' ) . '<div class="mo_oauth_tooltip"  ><span class="mo_oauth_tooltiptext mo_oauth_extra_tooltip"  >PREMIUM</span><a style="text-decoration: none;" target="_blank" href="admin.php?page=mo_oauth_settings&tab=licensing" rel="noopener noreferrer">
     263            <h3 class="mo_oauth_attribute_page_font">' . esc_html__( 'Map Custom Attributes ', 'miniorange-login-with-eve-online-google-facebook' ) . '<div class="mo_oauth_tooltip"  ><span class="mo_oauth_tooltiptext mo_oauth_extra_tooltip"  >PREMIUM</span><a style="text-decoration: none;" href="' . esc_url( MO_OAUTH_CLIENT_PRICING_PLAN ) . '" target="_blank" rel="noopener noreferrer">
    264264            <span><img class="mo_oauth_premium-label" src="' . esc_url( dirname( plugin_dir_url( __FILE__ ) ) ) . '/images/mo_oauth_premium-label.png" alt="miniOrange Premium Plans Logo"></span></a></div></span></h3></td>
    265265            <td><span style="float: right;"><div class="mo_oauth_tooltip mo_oauth_tooltip_float_right"><span class="mo_tooltiptext"  >How to map Custom Attributes?</span><a
     
    287287        <div class="mo_table_layout mo_oauth_attribute_page_font mo_oauth_outer_div" id="role-mapping">
    288288        <div class="mo_oauth_customization_header">
    289         <h3 class="mo_oauth_signing_heading" style="margin-top:0px; margin-bottom:0px;"><?php esc_html_e( 'Role Mapping ', 'miniorange-login-with-eve-online-google-facebook' ); ?><div class="mo_oauth_tooltip"  ><span class="mo_oauth_tooltiptext"  >PREMIUM</span><a style="text-decoration: none;" target="_blank" href="admin.php?page=mo_oauth_settings&tab=licensing" rel="noopener noreferrer">
     289        <h3 class="mo_oauth_signing_heading" style="margin-top:0px; margin-bottom:0px;"><?php esc_html_e( 'Role Mapping ', 'miniorange-login-with-eve-online-google-facebook' ); ?><div class="mo_oauth_tooltip"  ><span class="mo_oauth_tooltiptext"  >PREMIUM</span><a style="text-decoration: none;" href="<?php echo esc_url( MO_OAUTH_CLIENT_PRICING_PLAN ); ?>" target="_blank" rel="noopener noreferrer">
    290290        <span><img class="mo_oauth_premium-label" src="<?php echo esc_url( dirname( plugin_dir_url( __FILE__ ) ) ); ?>/images/mo_oauth_premium-label.png" alt="miniOrange Premium Plans Logo"></span></a></div></h3>
    291291        <span style="float: right;"><div class="mo_oauth_tooltip mo_oauth_tooltip_float_right"><span class="mo_tooltiptext"  >How to map Roles?</span><a
  • miniorange-login-with-eve-online-google-facebook/trunk/admin/partials/apps/partials/customization.php

    r3097144 r3275481  
    1616    ?>
    1717        <div id="mo_oauth_customiztion" class="mo_table_layout mo_oauth_app_customization">
    18         <div class="mo_oauth_customization_header"><div class="mo_oauth_attribute_map_heading" style="display: inline;"><b class="mo_oauth_position"><?php esc_html_e( 'Customize Icons ', 'miniorange-login-with-eve-online-google-facebook' ); ?></b> <small><div class="mo_oauth_tooltip" ><span class="mo_oauth_tooltiptext" >STANDARD</span><a href="admin.php?page=mo_oauth_settings&tab=licensing" target="_blank" rel="noopener noreferrer"><span style="border:none"><img class="mo_oauth_premium-label" src="<?php echo esc_url( dirname( plugin_dir_url( __FILE__ ) ) . '/images/mo_oauth_premium-label.png' ); ?>" alt="miniOrange Standard Plans Logo"></span></a></div></small></div><div class="mo_oauth_tooltip"><span class="mo_tooltiptext">Know how this is useful</span><a style="text-decoration: none;" target="_blank" href="https://developers.miniorange.com/docs/oauth/wordpress/client/login-button-customization" rel="noopener noreferrer">
     18        <div class="mo_oauth_customization_header"><div class="mo_oauth_attribute_map_heading" style="display: inline;"><b class="mo_oauth_position"><?php esc_html_e( 'Customize Icons ', 'miniorange-login-with-eve-online-google-facebook' ); ?></b> <small><div class="mo_oauth_tooltip" ><span class="mo_oauth_tooltiptext" >STANDARD</span><a href="<?php echo esc_url( MO_OAUTH_CLIENT_PRICING_PLAN ); ?>" target="_blank" rel="noopener noreferrer"><span style="border:none"><img class="mo_oauth_premium-label" src="<?php echo esc_url( dirname( plugin_dir_url( __FILE__ ) ) . '/images/mo_oauth_premium-label.png' ); ?>" alt="miniOrange Standard Plans Logo"></span></a></div></small></div><div class="mo_oauth_tooltip"><span class="mo_tooltiptext">Know how this is useful</span><a style="text-decoration: none;" target="_blank" href="https://developers.miniorange.com/docs/oauth/wordpress/client/login-button-customization" rel="noopener noreferrer">
    1919        <img class="mo_oauth_guide_img" src="<?php echo esc_url( dirname( plugin_dir_url( __FILE__ ) ) . '/images/mo_oauth_info-icon.png' ); ?>" alt="miniOrange Premium Plans Logo" aria-hidden="true"></a></div></div>
    2020    <form id="form-common" name="form-common" class="mo_oauth_customization_font" method="" action="admin.php?page=mo_oauth_settings&tab=customization">
  • miniorange-login-with-eve-online-google-facebook/trunk/admin/partials/apps/partials/grant-settings.php

    r2942951 r3275481  
    1616    </div>
    1717    <div class="mo_table_layout mo_oauth_contact_heading mo_oauth_outer_div" id="mo_grant_settings" style="position: relative;">
    18     <div class="mo_oauth_customization_header"><div class="mo_oauth_attribute_map_heading" style="display: inline;"><b class="mo_oauth_position"><?php esc_html_e( 'Grant Settings', 'miniorange-login-with-eve-online-google-facebook' ); ?></b> <small><div class="mo_oauth_tooltip mo_oauth_tooltip_float_right"><span class="mo_oauth_tooltiptext"  >PREMIUM</span><a href="admin.php?page=mo_oauth_settings&tab=licensing" target="_blank" rel="noopener noreferrer"><span style="border:none"><img class="mo_oauth_premium-label" src="<?php echo esc_url( dirname( plugin_dir_url( __FILE__ ) ) ); ?>/images/mo_oauth_premium-label.png" alt="miniOrange Premium Plans Logo"></span></a></div></small></div>
     18    <div class="mo_oauth_customization_header"><div class="mo_oauth_attribute_map_heading" style="display: inline;"><b class="mo_oauth_position"><?php esc_html_e( 'Grant Settings', 'miniorange-login-with-eve-online-google-facebook' ); ?></b> <small><div class="mo_oauth_tooltip mo_oauth_tooltip_float_right"><span class="mo_oauth_tooltiptext"  >PREMIUM</span><a href="<?php echo esc_url( MO_OAUTH_CLIENT_PRICING_PLAN ); ?>" target="_blank" rel="noopener noreferrer"><span style="border:none"><img class="mo_oauth_premium-label" src="<?php echo esc_url( dirname( plugin_dir_url( __FILE__ ) ) ); ?>/images/mo_oauth_premium-label.png" alt="miniOrange Premium Plans Logo"></span></a></div></small></div>
    1919    <div class="mo_oauth_tooltip mo_oauth_tooltip_float_right"><span class="mo_tooltiptext"  >Know how this is useful</span><a style="text-decoration: none;" target="_blank" href="https://developers.miniorange.com/docs/oauth/wordpress/client/multiple-grant-support" rel="noopener noreferrer">
    2020        <img class="mo_oauth_guide_img" src="<?php echo esc_url( dirname( plugin_dir_url( __FILE__ ) ) ); ?>/images/mo_oauth_info-icon.png" alt="miniOrange Premium Plans Logo" aria-hidden="true"></a></div></div>
     
    4343        </div>
    4444        <hr>
    45         <div class="mo_oauth_customization_header"><div class="mo_oauth_attribute_map_heading" style="display: inline;"><b class="mo_oauth_position"><?php esc_html_e( 'JWT Validation & PKCE', 'miniorange-login-with-eve-online-google-facebook' ); ?></b> <small><div class="mo_oauth_tooltip mo_oauth_tooltip_float_right"><span class="mo_oauth_tooltiptext"  >ENTERPRISE</span><a href="admin.php?page=mo_oauth_settings&tab=licensing" target="_blank" rel="noopener noreferrer"><span style="border:none"><img class="mo_oauth_premium-label" src="<?php echo esc_url( dirname( plugin_dir_url( __FILE__ ) ) ); ?>/images/mo_oauth_premium-label.png" alt="miniOrange Premium Plans Logo"></span></a></div></small></div>
     45        <div class="mo_oauth_customization_header"><div class="mo_oauth_attribute_map_heading" style="display: inline;"><b class="mo_oauth_position"><?php esc_html_e( 'JWT Validation & PKCE', 'miniorange-login-with-eve-online-google-facebook' ); ?></b> <small><div class="mo_oauth_tooltip mo_oauth_tooltip_float_right"><span class="mo_oauth_tooltiptext"  >ENTERPRISE</span><a href="<?php echo esc_url( MO_OAUTH_CLIENT_PRICING_PLAN ); ?>" target="_blank" rel="noopener noreferrer"><span style="border:none"><img class="mo_oauth_premium-label" src="<?php echo esc_url( dirname( plugin_dir_url( __FILE__ ) ) ); ?>/images/mo_oauth_premium-label.png" alt="miniOrange Premium Plans Logo"></span></a></div></small></div>
    4646    <div class="mo_oauth_tooltip mo_oauth_tooltip_float_right"><span class="mo_tooltiptext"  >Know how this is useful</span><a style="text-decoration: none;" target="_blank" href="https://developers.miniorange.com/docs/oauth/wordpress/client/multiple-grant-support#configure-pkce-flow" rel="noopener noreferrer">
    4747        <img class="mo_oauth_guide_img" src="<?php echo esc_url( dirname( plugin_dir_url( __FILE__ ) ) ); ?>/images/mo_oauth_info-icon.png" alt="miniOrange Premium Plans Logo" aria-hidden="true"></a></div></div>
     
    7474        <div class="notes">
    7575            <hr />
    76             <?php esc_html_e( 'Grant Type Settings and JWT Validation & PKCE are configurable in ', 'miniorange-login-with-eve-online-google-facebook' ); ?><a href="admin.php?page=mo_oauth_settings&tab=licensing" target="_blank" rel="noopener noreferrer">premium and enterprise</a><?php esc_html_e( ' versions of the plugin.', 'miniorange-login-with-eve-online-google-facebook' ); ?>
     76            <?php esc_html_e( 'Grant Type Settings and JWT Validation & PKCE are configurable in ', 'miniorange-login-with-eve-online-google-facebook' ); ?><a href="<?php echo esc_url( MO_OAUTH_CLIENT_PRICING_PLAN ); ?>" target="_blank" rel="noopener noreferrer">premium and enterprise</a><?php esc_html_e( ' versions of the plugin.', 'miniorange-login-with-eve-online-google-facebook' ); ?>
    7777        </div>
    7878    </div>
  • miniorange-login-with-eve-online-google-facebook/trunk/admin/partials/apps/partials/sign-in-settings.php

    r3206462 r3275481  
    139139</div>
    140140
    141 <!--div class="mo_oauth_premium_option_text"><span style="color:red;">*</span>This is a premium feature.
    142         <a href="admin.php?page=mo_oauth_settings&tab=licensing">Click Here</a> to see our full list of Premium Features.</div-->
     141
    143142<div id="advanced_settings_sso" class="mo_table_layout mo_oauth_outer_div">
    144143    <form id="signing_setting_form" name="f" method="post" action="">
  • miniorange-login-with-eve-online-google-facebook/trunk/admin/partials/apps/partials/updateapp.php

    r3188923 r3275481  
    171171                </tr>
    172172                <tr>
    173                     <td class="mo_oauth_contact_heading"><strong class="mo_strong"><font color="#FF0000"></font><?php esc_html_e( 'Reset / Forgot Password Policy:', 'miniorange-login-with-eve-online-google-facebook' ); ?></strong><br>&emsp;<font color="#FF0000"><small><a href="admin.php?page=mo_oauth_settings&tab=licensing" target="_blank" rel="noopener noreferrer">[ALL-INCLUSIVE]</a></small></font></td>
     173                    <td class="mo_oauth_contact_heading"><strong class="mo_strong"><font color="#FF0000"></font><?php esc_html_e( 'Reset / Forgot Password Policy:', 'miniorange-login-with-eve-online-google-facebook' ); ?></strong><br>&emsp;<font color="#FF0000"><small><a href="<?php echo esc_url( MO_OAUTH_CLIENT_PRICING_PLAN ); ?>" target="_blank" rel="noopener noreferrer">[ALL-INCLUSIVE]</a></small></font></td>
    174174                    <td><input class="mo_table_textbox" type="text" disabled readonly="true" placeholder= "<?php echo 'Ex. myapp_reset_password'; ?>"></td>
    175175            </tr>                   
  • miniorange-login-with-eve-online-google-facebook/trunk/admin/partials/apps/partials/user-analytics.php

    r3121866 r3275481  
    1717                    <table>
    1818                        <tr>
    19                             <td style="width: 100%"><div class="mo_oauth_attribute_map_heading" style="display: inline;"><b class="mo_oauth_position"><?php esc_html_e( 'User Transactions Report ', 'miniorange-login-with-eve-online-google-facebook' ); ?></b> <small><div class="mo_oauth_tooltip" ><span class="mo_oauth_tooltiptext" >ENTERPRISE</span><a href="admin.php?page=mo_oauth_settings&tab=licensing" target="_blank" rel="noopener noreferrer"><span style="border:none"><img class="mo_oauth_premium-label" src="<?php echo esc_url( dirname( plugin_dir_url( __FILE__ ) ) . '/images/mo_oauth_premium-label.png' ); ?>" alt="miniOrange Standard Plans Logo"></span></a></div></small></div></td><td></td><td style="text-align:right"><div class="mo_oauth_tooltip"><span class="mo_tooltiptext">Know how this is useful</span><a style="text-decoration: none;" target="_blank" href="https://developers.miniorange.com/docs/oauth/wordpress/client/user-analytics" rel="noopener noreferrer">
     19                            <td style="width: 100%"><div class="mo_oauth_attribute_map_heading" style="display: inline;"><b class="mo_oauth_position"><?php esc_html_e( 'User Transactions Report ', 'miniorange-login-with-eve-online-google-facebook' ); ?></b> <small><div class="mo_oauth_tooltip" ><span class="mo_oauth_tooltiptext" >ENTERPRISE</span><a href="<?php echo esc_url( MO_OAUTH_CLIENT_PRICING_PLAN ); ?>" target="_blank" rel="noopener noreferrer"><span style="border:none"><img class="mo_oauth_premium-label" src="<?php echo esc_url( dirname( plugin_dir_url( __FILE__ ) ) . '/images/mo_oauth_premium-label.png' ); ?>" alt="miniOrange Standard Plans Logo"></span></a></div></small></div></td><td></td><td style="text-align:right"><div class="mo_oauth_tooltip"><span class="mo_tooltiptext">Know how this is useful</span><a style="text-decoration: none;" target="_blank" href="https://developers.miniorange.com/docs/oauth/wordpress/client/user-analytics" rel="noopener noreferrer">
    2020        <img class="mo_oauth_guide_img" src="<?php echo esc_url( dirname( plugin_dir_url( __FILE__ ) ) . '/images/mo_oauth_info-icon.png' ); ?>" alt="miniOrange Premium Plans Logo" aria-hidden="true"></a><br><br></div></td></tr><tr><td></td>
    2121                            <td>
  • miniorange-login-with-eve-online-google-facebook/trunk/admin/partials/class-mo-oauth-client-admin-menu.php

    r3231920 r3275481  
    1616require 'account' . DIRECTORY_SEPARATOR . 'class-mo-oauth-client-admin-account.php';
    1717require 'apps' . DIRECTORY_SEPARATOR . 'class-mo-oauth-client-apps.php';
    18 require 'licensing' . DIRECTORY_SEPARATOR . 'class-mo-oauth-client-license.php';
    1918require 'support' . DIRECTORY_SEPARATOR . 'class-mo-oauth-client-support.php';
    2019require 'guides' . DIRECTORY_SEPARATOR . 'class-mo-oauth-client-attribute-mapping.php';
     
    198197            <h1 class="mo_oauth_h1">
    199198            <a id="license_upgrade" class="mo-add-new-hover mo_premium-plans-btn mo_oauth_header_link"
    200             href="<?php echo ! empty( $_SERVER['REQUEST_URI'] ) ? esc_attr( add_query_arg( array( 'tab' => 'licensing' ), sanitize_text_field( wp_unslash( $_SERVER['REQUEST_URI'] ) ) ) ) : ''; ?>">
     199            href="<?php echo esc_url( MO_OAUTH_CLIENT_PRICING_PLAN ); ?>"  target="_blank">
    201200            <img class="mo_oauth_header_link_image" style="margin: 0px;" src="<?php echo esc_url( dirname( plugin_dir_url( __FILE__ ) ) ); ?>/images/prem.png" alt="miniOrange Premium Plans Logo">
    202201            <?php esc_html_e( 'Premium Plans', 'miniorange-login-with-eve-online-google-facebook' ); ?></a>
     
    215214    </h1>
    216215    </div>
    217     <?php } if ( 'licensing' === $currenttab ) { ?>
    218     <div class="mo_license_heading" style="display: flex;padding-bottom:7px;padding-top: 35px;width: 100%;gap :19em"
    219         id="nav-container">
    220         <div>
    221             <a
    222                 href="<?php echo esc_attr( add_query_arg( array( 'tab' => 'default' ), sanitize_text_field( wp_unslash( $_SERVER['REQUEST_URI'] ) ) ) ); ?>">
    223                 <button id="Back-To-Plugin-Configuration" type="button" value="Back-To-Plugin-Configuration"
    224                     class="button button-primary button-large"
    225                     style="position:absolute;left:10px;background-color: #093553;">
    226                     <span class="dashicons dashicons-arrow-left-alt" style="vertical-align: middle;"></span>
    227                     Plugin Configuration
    228                 </button>
    229             </a>
    230         </div>
    231         <div style="display:block;text-align:center;margin: 10px;">
    232             <h2 style="font-size:22px;text-align: center;float: left"><b>miniOrange OAuth & OIDC Single Sign-On</b></h2>
    233         </div>
    234     </div>
    235             <?php
    236     }
    237     ?>
     216    <?php } ?>
    238217</div>
    239218</div>
     
    325304        }
    326305
    327     }
    328     /**
    329      * Show REST API not protected alert
    330      */
    331     public static function show_rest_api_secure_message() {
    332         if ( get_option( 'mo_oauth_client_show_rest_api_message' ) ) {
    333             $currenttab = isset( $_GET['tab'] ) ? sanitize_text_field( wp_unslash( $_GET['tab'] ) ) : ''; //phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Ignoring nonce verification because we are fetching data from URL and not on form submission.
    334             if ( 'licensing' !== $currenttab ) {
    335                 ?>
    336                 <form name="f" method="post" action="" id="mo_oauth_client_rest_api_form">
    337                             <?php wp_nonce_field( 'mo_oauth_client_rest_api_form', 'mo_oauth_client_rest_api_form_field' ); ?>
    338                     <input type="hidden" name="option" value="mo_oauth_client_rest_api_message" />
    339                     <div class="notice notice-info" style="padding-right: 38px;position: relative;border-left-color:red;">
    340                         <h4><i class="fa fa-exclamation-triangle" style="font-size:20px;color:red;"></i>&nbsp;&nbsp;
    341                             <b>Security Alert: </b> Looks like your WP REST APIs are not protected from public access. WP REST APIs
    342                             should be protected and allowed only for authorized access. You can <a
    343                                 href="https://wordpress.org/plugins/wp-rest-api-authentication/" target="_blank">click here</a> to know
    344                             how it can be handled.
    345                         </h4>
    346                         <button type="button" class="notice-dismiss" id="mo_oauth_client_rest_api_button"><span
    347                                 class="screen-reader-text">Dismiss this notice.</span>
    348                         </button>
    349                     </div>
    350                 </form>
    351                 <script>
    352                 jQuery("#mo_oauth_client_rest_api_button").click(function() {
    353                     jQuery("#mo_oauth_client_rest_api_form").submit();
    354                 });
    355                 </script>
    356                 <?php
    357             }
    358         }
    359306    }
    360307
     
    422369        } elseif ( 'signinsettings' === $currenttab ) {
    423370            MO_OAuth_Client_Apps::sign_in_settings();
    424         } elseif ( 'licensing' === $currenttab ) {
    425             MO_OAuth_Client_License::show_licensing_page();
    426371        } elseif ( 'requestfordemo' === $currenttab ) {
    427372            MO_OAuth_Client_Demo::requestfordemo();
  • miniorange-login-with-eve-online-google-facebook/trunk/class-mooauth.php

    r3206462 r3275481  
    3636    public function mo_oauth_client_support_script_hook() {
    3737        if ( isset( $_REQUEST['page'] ) && 'mo_oauth_settings' === $_REQUEST['page'] ) { //phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Ignoring nonce verification because we are fetching data from URL and not on form submission.
    38             if ( ! ( isset( $_REQUEST['tab'] ) && 'licensing' === $_REQUEST['tab'] ) ) { //phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Ignoring nonce verification because we are fetching data from URL and not on form submission.
    39                 wp_enqueue_script( 'mo_oauth_client_support_script', plugin_dir_url( __FILE__ ) . '/admin/js/clientSupport.min.js', array(), $ver = '10.0.0', $in_footer = false );
    40             }
     38            wp_enqueue_script( 'mo_oauth_client_support_script', plugin_dir_url( __FILE__ ) . '/admin/js/clientSupport.min.js', array(), $ver = '10.0.0', $in_footer = false );
    4139            wp_enqueue_style( 'mo_oauth_initial_plugin_style', plugin_dir_url( __FILE__ ) . '/admin/css/mo-oauth-initial.min.css', array(), MO_OAUTH_CSS_JS_VERSION );
    4240        }
     
    460458                        if ( strcasecmp( $response['status'], 'SUCCESS' ) === 0 ) {
    461459                            $this->mo_oauth_get_current_customer( $password );
    462                             wp_safe_redirect( admin_url( '/admin.php?page=mo_oauth_settings&tab=licensing' ), 301 );
     460                            wp_safe_redirect( admin_url( '/admin.php?page=mo_oauth_settings&tab=account' ), 301 );
    463461                            exit;
    464462                        } if ( strcasecmp( $response['status'], 'FAILED' ) === 0 && strcasecmp( $response['message'], 'Email is not enterprise email.' ) === 0 ) {
     
    11411139        if ( mooauth_migrate_customers() || ! mooauth_is_customer_registered() ) {
    11421140            return '<div class="mo_oauth_premium_option_text" style="text-align: center;border: 1px solid;margin: 5px;padding-top: 25px;"><p>This feature is supported only in standard and higher versions.</p>
    1143                 <p><a href="' . get_site_url( null, '/wp-admin/' ) . 'admin.php?page=mo_oauth_settings&tab=licensing">Click Here</a> to see our full list of Features.</p></div>';
     1141                <p><a href="' . esc_url( MO_OAUTH_CLIENT_PRICING_PLAN ) . '" target="_blank">Click Here</a> to see our full list of Features.</p></div>';
    11441142        }
    11451143        $mowidget = new MOOAuth_Widget();
  • miniorange-login-with-eve-online-google-facebook/trunk/constants.php

    r2860855 r3275481  
    3030    define( 'MO_OAUTH_CLIENT_DEAL_DATE', '2021-12-31 23:59:59' );
    3131}
     32if ( ! defined( 'MO_OAUTH_CLIENT_PRICING_PLAN' ) ) {
     33    define( 'MO_OAUTH_CLIENT_PRICING_PLAN', 'https://plugins.miniorange.com/wordpress-sso#pricing' );
     34}
    3235if ( ! defined( 'MO_OAUTH_CLIENT_DISCOUNT_URL' ) ) {
    3336    if ( gmdate( 'Y-m-d H:i:s' ) <= MO_OAUTH_CLIENT_DEAL_DATE ) {
  • miniorange-login-with-eve-online-google-facebook/trunk/includes/class-mo-oauth-client.php

    r2860855 r3275481  
    5858    private function define_admin_hooks() {
    5959        $plugin_admin = new MO_OAuth_Client_Admin( $this->get_plugin_name(), $this->get_version() );
    60         $this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_styles' );
    61         $this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_scripts' );
    6260        $this->loader->add_action( 'admin_menu', $plugin_admin, 'admin_menu' );
    6361        $this->loader->add_action( 'admin_enqueue_scripts', '', 'mooauth_client_plugin_settings_style' );
  • miniorange-login-with-eve-online-google-facebook/trunk/mo_oauth_settings.php

    r3266893 r3275481  
    1313 * Plugin URI: https://wordpress.org/plugins/miniorange-login-with-eve-online-google-facebook
    1414 * Description: This WordPress Single Sign-On plugin allows login into WordPress with your Azure AD B2C, AWS Cognito, Salesforce, Keycloak, Discord, WordPress or other custom OAuth 2.0 / OpenID Connect providers. WordPress OAuth Client plugin works with any Identity provider that conforms to the OAuth 2.0 and OpenID Connect (OIDC) 1.0 standard.
    15  * Version: 6.26.7
     15 * Version: 6.26.8
    1616 * Author: miniOrange
    1717 * Author URI: https://www.miniorange.com
     
    3636require 'admin' . DIRECTORY_SEPARATOR . 'partials' . DIRECTORY_SEPARATOR . 'mo_plugins' . DIRECTORY_SEPARATOR . 'autoload.php';
    3737require_once 'class-mooauth.php';
    38 define( 'MO_OAUTH_CSS_JS_VERSION', '6.26.7' );
     38define( 'MO_OAUTH_CSS_JS_VERSION', '6.26.8' );
    3939define( 'MO_OAUTH_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
    4040
  • miniorange-login-with-eve-online-google-facebook/trunk/readme.txt

    r3266893 r3275481  
    33Tags: SSO, OAuth 2.0, login, Single Sign-On, OpenId
    44Requires at least: 3.0.1
    5 Tested up to: 6.7
     5Tested up to: 6.8
    66Requires PHP: 5.4
    7 Stable tag: 6.26.7
     7Stable tag: 6.26.8
    88License: Expat
    99License URI: https://docs.miniorange.com/mit-license
     
    229229
    230230== Changelog ==
     231= 6.26.8 =
     232* Added WordPress 6.8 Compatibility
     233* Removed in-plugin License page
     234* License menu now redirects to product page
     235
    231236= 6.26.7 =
    232237* Improved email validation for contact form​
     
    809814
    810815== Upgrade Notice ==
     816= 6.26.8 =
     817* Added WordPress 6.8 Compatibility
     818* Removed in-plugin License page
     819* License menu now redirects to product page
     820
    811821= 6.26.7 =
    812822* Improved email validation for contact form​
Note: See TracChangeset for help on using the changeset viewer.