Plugin Directory

Changeset 3339700


Ignore:
Timestamp:
08/05/2025 01:28:07 PM (8 months ago)
Author:
bitsstech
Message:

bug fixes

Location:
otpfy-your-website/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • otpfy-your-website/trunk/README.txt

    r3228487 r3339700  
    33Tags: otp, 2fa, otp login
    44Requires at least: 4.0
    5 Tested up to: 6.7
    6 Stable tag: 1.0.1
     5Tested up to: 6.8.2
     6Stable tag: 1.0.2
    77Requires PHP: 5.4
    88License: GPLv2 or later
  • otpfy-your-website/trunk/admin/class-otpfy-for-wordpress-admin.php

    r3228487 r3339700  
    162162    {
    163163        if (isset($_POST["bt_otpfy_save"]) && current_user_can( 'manage_options' )) {
    164             $nonce = sanitize_text_field($_POST["nonce"]);     
    165             if (!wp_verify_nonce($nonce, 'bt_otpfy_nonce')) {
     164            $nonce = sanitize_text_field($_POST["_wpnonce"]);       
     165            if (!wp_verify_nonce($nonce, 'admin_init_save_data')) {
    166166                exit;
    167167            }
     
    200200                $otp_via_email = 'no';
    201201                $otp_via_phone = 'no';
    202                 if ($_POST['bt_otpfy_send_lg_otp_email']) {
     202                if (isset($_POST['bt_otpfy_send_lg_otp_email'])) {
    203203                    $otp_via_email = 'email';
    204204                }
    205                 if ($_POST['bt_otpfy_send_lg_otp_phone']) {
     205                if (isset($_POST['bt_otpfy_send_lg_otp_phone'])) {
    206206                    $otp_via_phone = 'sms';
    207207                }
     
    576576                    <input value="<?php echo esc_attr($bt_otpfy_user_mobile_number) ?>" type="text" maxlength="15" name="bt_otpfy_user_mobile_number" id="bt_otpfy_user_mobile_number"/>
    577577                    <input value="bt_otpfy_user_mobile_number_nonce" type="hidden" name="nonce" />
    578                        
     578                    <p class="description" id="bt_otpfy_user_mobile_number-description">
     579                        This field is added by OTPfy plugin. It is saved in 'bt_otpfy_user_mobile_number' user meta.
     580                    </p>
    579581                </td>
    580582            </tr>
  • otpfy-your-website/trunk/admin/css/otpfy-for-wordpress-admin.css

    r3228487 r3339700  
    5757      background: unset;
    5858  }
     59
     60 .toplevel_page_wc-admin-OTPFY-settings .modal-card {
     61    overflow: scroll !important;
     62  }
  • otpfy-your-website/trunk/admin/partials/otpfy-for-wordpress-admin-display.php

    r3228487 r3339700  
    225225            <div class="is-active">
    226226                <form method="POST" action="">
     227                    <?php wp_nonce_field('admin_init_save_data'); ?>
    227228                    <?php if ($tab == "basic"): ?>
    228229                        <input type="hidden" name="bt_otpfy_save" value="basic" /> 
    229                         <input type="hidden" name="nonce" value="bt_otpfy_nonce" /> 
     230                       
    230231                        <div>                     
    231232                            <div class="columns">                       
     
    878879
    879880                                                <p class="block">
    880                                                     Something's not right? or have some questions? You can contact support by clicking <a target="_blank" href="https://bitss.cloud/support/submit-ticket/">here</a>.
     881                                                    Something's not right? or have some questions? You can contact support by clicking <a target="_blank" href="https://billing.bitss.tech/index.php?fuse=support&controller=ticket&view=submitticket">here</a>.
    881882                                                </p>
    882883
  • otpfy-your-website/trunk/otpfy-for-wordpress.php

    r3228487 r3339700  
    1212 * Plugin URI:        https://otpfy.in
    1313 * Description:       OTPfy almost anything in your wordpress website!! OTP based Login, Signup, Order Confirmation, just anything you can imagine. Integrate OTP based 2 factor authentication using our developer hooks.
    14  * Version:           1.0.1
     14 * Version:           1.0.2
    1515 * Author:            Bitss Techniques
    1616 * Author URI:        https://bitss.tech
     
    3131 * Rename this for your plugin and update it as you release new versions.
    3232 */
    33 define( 'OTPFY_FOR_WORDPRESS_VERSION', '1.0.1' );
     33define( 'OTPFY_FOR_WORDPRESS_VERSION', '1.0.2' );
    3434
    3535/**
Note: See TracChangeset for help on using the changeset viewer.