Changeset 2342940
- Timestamp:
- 07/19/2020 02:01:28 AM (6 years ago)
- Location:
- multiupload-in-custom-taxonomy/trunk
- Files:
-
- 3 edited
-
include/ai_taxonomy_list.php (modified) (1 diff)
-
include/class-multiupload-in-taxonomy-admin.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
multiupload-in-custom-taxonomy/trunk/include/ai_taxonomy_list.php
r1051513 r2342940 35 35 } 36 36 ?> 37 <input type="checkbox" name="ai_taxonomy_name[]" id="ai_taxonomy_name[]" value="<?php echo $value; ?>" <?php if( $taxonomy){echo "checked";} ?> />37 <input type="checkbox" name="ai_taxonomy_name[]" id="ai_taxonomy_name[]" value="<?php echo $value; ?>" <?php if(isset($taxonomy) && !empty($taxonomy)){echo "checked";} ?> /> 38 38 </td> 39 39 <?php $value = preg_replace('/[^A-Za-z0-9\-]/', ' ', $value); ?> -
multiupload-in-custom-taxonomy/trunk/include/class-multiupload-in-taxonomy-admin.php
r1251916 r2342940 159 159 $term_id = $value.'_term_id'; 160 160 $$term_id = $tag->term_id; 161 $image_ids = $value.'_image_ids'; 161 $image_ids = $value.'_image_ids'; 162 $total = 0; 162 163 $$image_ids = get_metadata('taxonomy', $$term_id, $value.'_image', true) ; 163 164 $total = (count($$image_ids)-1); 164 if($$image_ids != '') 165 { 166 $total = (count($$image_ids)-1); 167 } 168 165 169 $JS = "<script>totalItems=".$total.";var plugin_dir = '".get_bloginfo('template_url')."';"; 166 170 $JS .="</script>"; -
multiupload-in-custom-taxonomy/trunk/readme.txt
r1298877 r2342940 3 3 Tags: multiupload in taxonomy, multiupload in custom taxonomy, multiupload,image upload,taxonomy,custom taxonomy,multiple image upload 4 4 Requires at least: 3.6 5 Tested up to: 4.2.35 Tested up to: 5.4.2 6 6 Stable tag: 1.2 7 7 License: GPLv2 or later
Note: See TracChangeset
for help on using the changeset viewer.