diff options
author | Jesús Eduardo <heckyel@hyperbola.info> | 2017-08-15 09:56:33 -0500 |
---|---|---|
committer | Jesús Eduardo <heckyel@hyperbola.info> | 2017-08-15 09:56:33 -0500 |
commit | e661996c658e699e9e452b6522d64e270e121fe5 (patch) | |
tree | 46693b2a3b129c53cbfef56e8dd91574e9e19a2e /content-search.php | |
parent | c675ca39e68062b3224ea6cb18a6bf928e983df3 (diff) | |
download | lidra-theme-e661996c658e699e9e452b6522d64e270e121fe5.tar.lz lidra-theme-e661996c658e699e9e452b6522d64e270e121fe5.tar.xz lidra-theme-e661996c658e699e9e452b6522d64e270e121fe5.zip |
corrige posible redirección no deseada
Diffstat (limited to 'content-search.php')
-rw-r--r-- | content-search.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/content-search.php b/content-search.php index 598646e..0888373 100644 --- a/content-search.php +++ b/content-search.php @@ -29,7 +29,7 @@ printf (' </div> <article class="info"> <h2 class="titulo"><a href="%s">%s</a></h2> - <p class="fecha">%s ' . __('by', 'Lidra') . ' <a href="%s" target="_blank">%s</a></p> + <p class="fecha">%s ' . __('by', 'Lidra') . ' <a href="%s" rel="noopener noreferrer" target="_blank">%s</a></p> <div class="extracto">%s</div> <div class="categorias"> %s @@ -41,7 +41,7 @@ printf (' printf( $template_html, get_the_permalink(), - get_the_post_thumbnail( null, '', $attr = array( 'title' => get_the_title() ) ), + get_the_post_thumbnail( null, '', $attr = array( 'title' => get_the_title() ) ), get_the_permalink(), get_the_title(), get_the_time( 'd-M-Y' ), @@ -50,11 +50,11 @@ printf (' get_the_excerpt(), //the_category() get_the_category_list() - ); - endwhile; - else: - printf( '<p>' . __('No items found with:', 'Lidra') . ' '. get_search_query() .' </p>' ); - endif; + ); + endwhile; + else: + printf( '<p>' . __('No items found with:', 'Lidra') . ' '. get_search_query() .' </p>' ); + endif; rewind_posts(); printf(' </div> |