Changeset 3303320
- Timestamp:
- 05/30/2025 05:28:53 AM (10 months ago)
- Location:
- docid/trunk
- Files:
-
- 3 edited
-
README.txt (modified) (2 diffs)
-
admin/class-docid-metaboxes.php (modified) (2 diffs)
-
docid.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
docid/trunk/README.txt
r3303314 r3303320 5 5 Requires PHP: 7.4 6 6 Tested up to: 6.8 7 Stable tag: 1.0. 77 Stable tag: 1.0.8 8 8 License: GPLv3 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 56 56 == Changelog == 57 57 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 = 59 59 * Minor bugfixes 60 60 -
docid/trunk/admin/class-docid-metaboxes.php
r3303314 r3303320 54 54 if (isset($_POST[$option])) { 55 55 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); 58 63 } 59 update_post_meta($post_id, $option, $sanitizedMetaValue);60 64 } else { 61 65 delete_post_meta($post_id, $option); … … 137 141 <div> 138 142 <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'); ?> /> 141 144 <?php esc_html_e('HCP-Login Required', 'docid'); ?> 142 145 </label> -
docid/trunk/docid.php
r3303314 r3303320 14 14 * Plugin Name: DocID 15 15 * 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. 716 * Version: 1.0.8 17 17 * Author: 8awake GmbH <support@docid.de> 18 18 * Author URI: https://docid.de
Note: See TracChangeset
for help on using the changeset viewer.