Changeset 3412365
- Timestamp:
- 12/05/2025 03:38:22 PM (8 days ago)
- Location:
- event-post/trunk/inc
- Files:
-
- 2 edited
-
class-taxonomies.php (modified) (3 diffs)
-
export/ics.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
event-post/trunk/inc/class-taxonomies.php
r3368287 r3412365 42 42 foreach($fields as $field => $components){ 43 43 ?> 44 <div class="form-field event-color-section <?php echo $field?>-wrap">45 <?php echo $components['label']?>46 <?php echo $components['field']?>47 <p><?php echo $components['desc']?></p>44 <div class="form-field event-color-section <?php echo esc_attr($field) ?>-wrap"> 45 <?php echo wp_kses($components['label'], EventPost()->kses_tags)?> 46 <?php echo wp_kses($components['field'], EventPost()->kses_tags)?> 47 <p><?php echo esc_html($components['desc']) ?></p> 48 48 </div> 49 49 <?php … … 83 83 foreach($fields as $field => $components){ 84 84 ?> 85 <tr class='form-field <?php echo $field?>-wrap'>85 <tr class='form-field <?php echo esc_attr($field) ?>-wrap'> 86 86 <th scope='row' valign='top'> 87 <?php echo $components['label']?>87 <?php echo wp_kses($components['label'], EventPost()->kses_tags)?> 88 88 </th> 89 89 <td> 90 <?php echo $components['field']?>91 <p class='description'><?php echo $components['desc']?></p>90 <?php echo wp_kses($components['field'], EventPost()->kses_tags); ?> 91 <p class='description'><?php echo esc_html($components['desc']) ?></p> 92 92 </td> 93 93 </tr> … … 114 114 $icon = $this->get_taxonomy_icon($term_id, "location"); 115 115 $color = $this->get_taxonomy_color($term_id, "#000000"); 116 echo '<span class="dashicons dashicons-'. $icon.'" style="color : #'.$color.'"></span>';116 echo '<span class="dashicons dashicons-'.esc_attr($icon).'" style="color : #'.esc_attr($color).'"></span>'; 117 117 } 118 118 return $content; -
event-post/trunk/inc/export/ics.php
r3368287 r3412365 71 71 $props[] = 'END:VCALENDAR'; 72 72 73 echo implode($separator, $props);73 echo wp_kses_post(implode($separator, $props)); 74 74 }
Note: See TracChangeset
for help on using the changeset viewer.