Changeset 2863095
- Timestamp:
- 02/10/2023 09:28:48 AM (3 years ago)
- Location:
- miniorange-login-openid/trunk
- Files:
-
- 7 edited
-
class-mo-openid-login-widget.php (modified) (2 diffs)
-
miniorange_openid_sso_settings.php (modified) (1 diff)
-
miniorange_openid_sso_settings_page.php (modified) (1 diff)
-
mo-openid-social-login-functions.php (modified) (1 diff)
-
readme.txt (modified) (7 diffs)
-
view/config_apps/mo_openid_config_apps.php (modified) (2 diffs)
-
view/rate_us/rate_us.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
miniorange-login-openid/trunk/class-mo-openid-login-widget.php
r2853010 r2863095 13 13 14 14 add_action( 'manage_users_custom_column', 'mo_openid_delete_profile_column', 9, 3 ); 15 add_filter( 'manage_users_columns', 'mo_openid_add_custom_column1' );16 add_action( 'admin_head', 'mo_openid_delete_social_profile_script' );17 15 add_filter( 'login_message', 'mo_openid_account_linking' ); 18 16 add_action( … … 1427 1425 exit; 1428 1426 } 1429 } elseif ( ( isset( $_POST['action'] ) ) && ( strpos( sanitize_text_field( $_POST['action'] ), 'delete_social_profile_data' ) !== false ) && isset( $_POST['user_id'] ) ) {1430 // delete first name, last name, user_url and profile_url from usermeta1431 $id = sanitize_text_field( $_POST['user_id'] );1432 mo_openid_delete_social_profile( $id );1433 1427 } elseif ( isset( $_REQUEST['option'] ) and strpos( sanitize_text_field( $_REQUEST['option'] ), 'oauthredirect' ) !== false ) { 1434 1428 if ( isset( $_REQUEST['wp_nonce'] ) ) { -
miniorange-login-openid/trunk/miniorange_openid_sso_settings.php
r2853010 r2863095 5 5 * Plugin URI: https://www.miniorange.com 6 6 * Description: Allow your users to login, comment and share with Facebook, Google, Apple, Twitter, LinkedIn etc using customizable buttons. 7 * Version: 7.6. 07 * Version: 7.6.1 8 8 * Author: <a href="https://www.miniorange.com/">miniOrange</a> 9 9 * License URI: http://miniorange.com/usecases/miniOrange_User_Agreement.pdf 10 10 */ 11 11 12 define('MO_OPENID_SOCIAL_LOGIN_VERSION', '7.6. 0');12 define('MO_OPENID_SOCIAL_LOGIN_VERSION', '7.6.1'); 13 13 define('PLUGIN_URL', esc_url(plugin_dir_url(__FILE__)) . "includes/images/icons/"); 14 14 define('MOSL_PLUGIN_DIR',str_replace('/','\\',plugin_dir_path(__FILE__))); -
miniorange-login-openid/trunk/miniorange_openid_sso_settings_page.php
r2853010 r2863095 597 597 598 598 function end_new_tour2(){ 599 599 var mo_openid_tour_nonce = '<?php echo esc_attr( wp_create_nonce( 'mo-openid-tour-nonce' ) ); ?>'; 600 600 var tour_variable = "plugin_tour"; 601 601 jQuery.ajax({ 602 602 url:base_url+'/wp-admin/admin.php?page=mo_openid_general_settings&tab=config_apps', //the page containing php script 603 603 604 method: "POST", //request type, 604 data: {update_tour_status: tour_variable}, 605 data: { 606 update_tour_status: tour_variable, 607 'mo_openid_tour_nonce': mo_openid_tour_nonce, 608 }, 605 609 dataType: 'text', 606 610 success:function(result){ -
miniorange-login-openid/trunk/mo-openid-social-login-functions.php
r2853010 r2863095 1428 1428 } 1429 1429 1430 function mo_openid_add_custom_column1( $columns ) { 1431 $columns['mo_openid_delete_profile_data'] = 'Delete Social Profile Data'; 1432 return $columns; 1433 } 1434 1435 function mo_openid_delete_social_profile_script() { 1436 ?> 1437 <script type="text/javascript"> 1438 function moOpenidDeleteSocialProfile(elem, userId){ 1439 jQuery.ajax({ 1440 url:"<?php echo esc_url( admin_url() ); ?>", //the page containing php script 1441 method: "POST", //request type, 1442 data: {action : 'delete_social_profile_data', user_id : userId}, 1443 dataType: 'text', 1444 success:function(result){ 1445 alert('Social Profile Data Deleted successfully. Press OK to continue.'); 1446 window.location.reload(true); 1447 } 1448 }); 1449 } 1450 function copyToClipboard(copyButton, element, copyelement) { 1451 var temp = jQuery("<input>"); 1452 jQuery("body").append(temp); 1453 temp.val(jQuery(element).text()).select(); 1454 document.execCommand("copy"); 1455 temp.remove(); 1456 jQuery(copyelement).text("Copied"); 1457 jQuery(copyButton).mouseout(function(){ 1458 jQuery(copyelement).text("Copy to Clipboard"); 1459 }); 1460 } 1461 </script> 1462 <?php 1463 } 1430 -
miniorange-login-openid/trunk/readme.txt
r2853010 r2863095 2 2 Contributors: sociallogin, vkontakte, cyberlord92 3 3 Donate link: https://www.miniorange.com 4 Tags: social login, facebook login, google login, social sharing, twitter login, linkedIn, user login, vkontakte login, social comments, social commenting, woocommerce login, facebook, twitter, google, social connect, social network login, social plugin, windows, microsoft,discord login, openID, OAuth Login, User Login, social media login, user registration, social sign in.4 Tags: social login, facebook login, google login, social sharing, twitter login, linkedIn, user login, vkontakte login, social comments, social commenting, woocommerce login, facebook, twitter, google, social connect, social network login, social plugin, discord login, openID, OAuth Login, User Login, social media login, user registration, social sign in. 5 5 Requires at least: 2.0.2 6 6 Tested up to: 6.1 7 Stable tag: 7.6. 07 Stable tag: 7.6.1 8 8 License: GPLv2 or later 9 9 License URI: http://miniorange.com/usecases/miniOrange_User_Agreement.pdf … … 27 27 28 28 * Social Login with <a href="https://plugins.miniorange.com/configure-facebook-social-login-in-wordpress" target="_blank">Facebook</a>, <a href="https://plugins.miniorange.com/login-with-google-using-wordpress-social-login" target="_blank">Google</a>, <a href="https://plugins.miniorange.com/configure-discord-with-social-login-in-wordpress" target="_blank">Discord</a>, <a href="https://plugins.miniorange.com/configure-twitter-with-social-login-in-wordpress" target="_blank">Twitter</a>, <a href="http://plugins.miniorange.com/configure-vkontakte-with-social-login-in-wordpress" target="_blank">Vkontakte</a>, <a href="https://plugins.miniorange.com/configure-linkedin-with-social-login-in-wordpress" target="_blank">LinkedIn</a>, <a href="http://plugins.miniorange.com/configure-amazon-with-social-login-in-wordpress" target="_blank">Amazon</a>, Salesforce & <a href="https://plugins.miniorange.com/guide-to-configure-yahoo-social-login-in-wordpress" target="_blank">Yahoo</a>,etc. 29 * **One-click** activation for Login with Google, Amazon, Vkontakte, LinkedIn, Windows Live (Microsoft login),Yahoo, Salesforce, Snapchat and Dribbble.29 * **One-click** activation for Login with Google, Amazon, Vkontakte, LinkedIn, Yahoo, Salesforce, Snapchat and Dribbble. 30 30 * **Flexible display** - Display Social login icons anywhere on your websites. 31 31 * **Sync user data** - Sync user data from multiple social network providers like Facebook, Google, Microsoft into one social login account. … … 35 35 * **Assign user roles** - Assign WordPress roles to users on registration through social login. 36 36 * **Shortcodes** - Use Shortcode anywhere on your website to display social login icons. 37 * **Take full control** - Setup your social login applications with APP ID and APP Secret for Facebook, Google, Twitter, Vkontakte, LinkedIn, Amazon, Windows Live& Yahoo.37 * **Take full control** - Setup your social login applications with APP ID and APP Secret for Facebook, Google, Twitter, Vkontakte, LinkedIn, Amazon, & Yahoo. 38 38 * **Preview** - Preview custom social login icons before you publish them on your website. 39 39 * **Profile completion** (username, email) - Prompt users for email-id & username if social login app doesn't return it. Verify Emails using verification code. … … 100 100 101 101 = Why miniOrange Social Login = 102 * **1 3 Free Social Login apps** - Login with popular social network providers namely Facebook, Google, Discord, Twitter, LinkedIn, Vkontakte, Windows Live, Amazon, Salesforce, Yahoo, Snapchat and Dribbble all available in the free plan.102 * **11 Free Social Login apps** - Login with popular social network providers namely Facebook, Google, Discord, Twitter, LinkedIn, Vkontakte, Amazon, Salesforce, Yahoo, Snapchat and Dribbble all available in the free plan. 103 103 * **No Setup required** - Simply register with us and use our pre-configured application. We will handle everything for you. 104 104 * **24 / 7 Support** - If you face any issues or if you simply require assistance with the Social Login plugin then please contact us. Whatever it may be we will solve the issue for you and get everything working as soon as possible. … … 142 142 143 143 * **40+ Social Login Providers** - Choose from 40+ applications (Facebook Login, Google Login, Discord Login etc.) for social login and user registration. Many social network providers added continuously. 144 * **One-click activation** - For Login with Discord, Apple, Facebook, Google, Amazon, Vkontakte, LinkedIn, W indows Live (Microsoft login), WordPress, Yahoo, Salesforce, Stackoverflow, Mailchimp, Strava etc.144 * **One-click activation** - For Login with Discord, Apple, Facebook, Google, Amazon, Vkontakte, LinkedIn, WordPress, Yahoo, Salesforce, Stackoverflow, Mailchimp, Strava etc. 145 145 * **Social login Integrations** - Social integrations with popular WordPress plugins like <a href="https://plugins.miniorange.com/guide-to-configure-woocommerce-with-wordpress-social-login" target="_blank">WooCommerce</a>, <a href="https://plugins.miniorange.com/guide-to-configure-paid-membership-pro-with-wordpress-social-login" target="_blank">Paid Memberships Pro</a>, <a href="https://plugins.miniorange.com/guide-to-configure-buddypress-with-wordpress-social-login" target="_blank">BuddyPress</a>, <a href="https://plugins.miniorange.com/guide-to-configure-mailchimp-integration-with-wordpress-social-login" target="_blank">MailChimp</a> and HubSpot. 146 146 * **Social Login Integrations** - Social login icons on WooCommerce pages, BuddyPress pages, Paid Memberships Pro pages, MemberPress pages, Ultimate Member pages. … … 277 277 278 278 ==Changelog== 279 = 7.6.1 = 280 * Security Fixes. 281 * Readme update. 282 279 283 = 7.6.0 = 280 284 * Discontinue the Temporary admin login feature. … … 1012 1016 1013 1017 == Upgrade Notice == 1018 = 7.6.1 = 1019 * Security Fixes. 1020 * Readme update. 1021 1014 1022 = 7.6.0 = 1015 1023 * Discontinue the Temporary admin login feature. -
miniorange-login-openid/trunk/view/config_apps/mo_openid_config_apps.php
r2853010 r2863095 4 4 { 5 5 if (isset($_POST['update_tour_status'])){ //phpcs:ignore 6 update_option('mo_openid_tour_new','1'); 6 $nonce = sanitize_text_field($_POST['mo_openid_tour_nonce']); 7 if (!wp_verify_nonce($nonce, 'mo-openid-tour-nonce')) { 8 wp_die('<strong>ERROR</strong>: Please Go back and Refresh the page and try again!<br/>If you still face the same issue please contact your Administrator.'); 9 } else { 10 if(current_user_can('administrator')){ 11 update_option('mo_openid_tour_new','1'); 12 } 13 } 7 14 } 8 15 ?> … … 1164 1171 action: 'mo_openid_rating_given', 1165 1172 rating: rating, 1166 'mo_openid_rating_given' : mo_openid_rating_given ,1173 'mo_openid_rating_given' : mo_openid_rating_given_nonce, 1167 1174 }, 1168 1175 success: function (result) { } -
miniorange-login-openid/trunk/view/rate_us/rate_us.php
r2853010 r2863095 72 72 action: 'mo_openid_rating_given', 73 73 rating: rating, 74 'mo_openid_rating_given' : mo_openid_rating_given ,74 'mo_openid_rating_given' : mo_openid_rating_given_nonce, 75 75 }, 76 76 success: function (result) {
Note: See TracChangeset
for help on using the changeset viewer.