Skip to content
This repository has been archived by the owner on Dec 31, 2021. It is now read-only.

Commit

Permalink
Minor Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Tremi Dkhar committed Jan 27, 2020
1 parent f982dad commit 82f7563
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions includes/class-wpnotificationlist-widget-display.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ public function widget( $args, $instance ) {
?>
<li>
<?php
// @todo: Find a way to optimize this code for better performance.
switch ( $instance['display_type'] ) { // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
case 'the_title':
printf( '<a href="%1$s" title="%2$s">%2$s</a>', get_the_permalink(), get_the_title() ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
Expand All @@ -179,7 +178,6 @@ public function widget( $args, $instance ) {
</li>
<?php
}

echo $tag['close']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped

if ( true === $instance['show_archive_link'] ) {
Expand Down

0 comments on commit 82f7563

Please sign in to comment.