Plugin Directory

Changeset 3303320


Ignore:
Timestamp:
05/30/2025 05:28:53 AM (10 months ago)
Author:
docid
Message:

Updated plugin to version 1.0.8

Location:
docid/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • docid/trunk/README.txt

    r3303314 r3303320  
    55Requires PHP: 7.4
    66Tested up to: 6.8
    7 Stable tag: 1.0.7
     7Stable tag: 1.0.8
    88License: GPLv3 or later
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    5656== Changelog ==
    5757
    58 = 1.0.2 / 1.0.3 / 1.0.4 / 1.0.5 / 1.0.6 =
     58= 1.0.2 / 1.0.3 / 1.0.4 / 1.0.5 / 1.0.6 / 1.0.7 / 1.0.8 =
    5959* Minor bugfixes
    6060
  • docid/trunk/admin/class-docid-metaboxes.php

    r3303314 r3303320  
    5454                if (isset($_POST[$option])) {
    5555                    switch($type) {
    56                         case 'checkbox': $sanitizedMetaValue = intval(wp_unslash($_POST[$option])); break;
    57                         default: $sanitizedMetaValue = sanitize_text_field(wp_unslash($_POST[$option]));
     56                        case 'checkbox':
     57                            $sanitizedMetaValue = intval(wp_unslash($_POST[$option]));
     58                            update_post_meta($post_id, $option, '1');
     59                            break;
     60                        default:
     61                            $sanitizedMetaValue = sanitize_text_field(wp_unslash($_POST[$option]));
     62                            update_post_meta($post_id, $option, $sanitizedMetaValue);
    5863                    }
    59                     update_post_meta($post_id, $option, $sanitizedMetaValue);
    6064                } else {
    6165                    delete_post_meta($post_id, $option);
     
    137141        <div>
    138142            <label>
    139                 <input id="docid_restricted" name="docid_restricted" class="<?php echo esc_attr(get_post_meta($post->ID, 'docid_all_group', true)); ?>" type="checkbox" onclick="toggleCheckboxes(this)"
    140                     <?php checked(get_post_meta(get_the_ID(), 'docid_restricted', true), 1); ?> />
     143                <input id="docid_restricted" name="docid_restricted" type="checkbox" value="1" <?php checked(get_post_meta(get_the_ID(), 'docid_restricted', true), '1'); ?> />
    141144                <?php esc_html_e('HCP-Login Required', 'docid'); ?>
    142145            </label>
  • docid/trunk/docid.php

    r3303314 r3303320  
    1414 * Plugin Name:       DocID
    1515 * Description:       The DocID plugin provides all the functionalities required for a secure and legally compliant authentication of healthcare professionals on your website.
    16  * Version:           1.0.7
     16 * Version:           1.0.8
    1717 * Author:            8awake GmbH <support@docid.de>
    1818 * Author URI:        https://docid.de
Note: See TracChangeset for help on using the changeset viewer.