Code Duplication    Length = 3-3 lines in 2 locations

modules/widgets/upcoming-events.php 1 location

@@ 100-102 (lines=3) @@
97
					<?php if ( ! empty( $event['LOCATION'] ) ) : ?>
98
						<span class="event-location"><?php echo $ical->escape( stripslashes( $event['LOCATION'] ) ); ?></span>
99
					<?php endif; ?>
100
					<?php if ( ! empty( $event['DESCRIPTION'] ) ) : ?>
101
						<span class="event-description"><?php echo wp_trim_words( $ical->escape( stripcslashes( $event['DESCRIPTION'] ) ) ); ?></span>
102
					<?php endif; ?>
103
				</li>
104
				<?php endforeach; ?>
105
			</ul>

_inc/lib/icalendar-reader.php 1 location

@@ 774-776 (lines=3) @@
771
				<?php if ( ! empty( $event['LOCATION'] ) ) : ?>
772
					<span class="event-location"><?php echo $this->escape( stripslashes( $event['LOCATION'] ) ); ?></span>
773
				<?php endif; ?>
774
				<?php if ( ! empty( $event['DESCRIPTION'] ) ) : ?>
775
					<span class="event-description"><?php echo wp_trim_words( $this->escape( stripcslashes( $event['DESCRIPTION'] ) ) ); ?></span>
776
				<?php endif; ?>
777
			</li>
778
			<?php endforeach; ?>
779
		</ul>