Code Duplication    Length = 3-3 lines in 2 locations

modules/widgets/upcoming-events.php 1 location

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

_inc/lib/icalendar-reader.php 1 location

@@ 760-762 (lines=3) @@
757
				<?php if ( ! empty( $event['LOCATION'] ) ) : ?>
758
					<span class="event-location"><?php echo $this->escape( stripslashes( $event['LOCATION'] ) ); ?></span>
759
				<?php endif; ?>
760
				<?php if ( ! empty( $event['DESCRIPTION'] ) ) : ?>
761
					<span class="event-description"><?php echo wp_trim_words( $this->escape( stripcslashes( $event['DESCRIPTION'] ) ) ); ?></span>
762
				<?php endif; ?>
763
			</li>
764
			<?php endforeach; ?>
765
		</ul>