mirror of
https://github.com/10h30/full-screen-morphing-search.git
synced 2026-07-11 18:46:04 +09:00
No need to echo. Removed also for security.
This commit is contained in:
@@ -137,15 +137,15 @@ class Full_Screen_Morphing_Search {
|
||||
<?php
|
||||
if ( has_post_thumbnail() ) {
|
||||
?>
|
||||
<a href="<?php echo the_permalink(); ?>" title="<?php the_title_attribute(); ?>">
|
||||
<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>">
|
||||
<?php
|
||||
} else {
|
||||
?>
|
||||
<a href="<?php echo the_permalink(); ?>" class="fsmsp-article-link" title="<?php the_title_attribute(); ?>">
|
||||
<a href="<?php the_permalink(); ?>" class="fsmsp-article-link" title="<?php the_title_attribute(); ?>">
|
||||
<?php
|
||||
}
|
||||
if ( has_post_thumbnail() ) {
|
||||
echo the_post_thumbnail( 'full-screen-morphing-search-plugin-thumb', array( 'class' => 'round' ) );
|
||||
the_post_thumbnail( 'full-screen-morphing-search-plugin-thumb', array( 'class' => 'round' ) );
|
||||
} else {
|
||||
if ( empty( $fsmsp_options['fsmsp_article_icon'] ) ) {
|
||||
echo '<img src="' . esc_url( plugins_url( 'assets/img/article.png', __FILE__ ) ) . '" >';
|
||||
|
||||
Reference in New Issue
Block a user