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 | |
parent | c675ca39e68062b3224ea6cb18a6bf928e983df3 (diff) | |
download | lidra-theme-e661996c658e699e9e452b6522d64e270e121fe5.tar.lz lidra-theme-e661996c658e699e9e452b6522d64e270e121fe5.tar.xz lidra-theme-e661996c658e699e9e452b6522d64e270e121fe5.zip |
corrige posible redirección no deseada
-rw-r--r-- | content-page.php | 10 | ||||
-rw-r--r-- | content-search.php | 14 | ||||
-rw-r--r-- | content-single.php | 12 | ||||
-rw-r--r-- | content.php | 14 | ||||
-rw-r--r-- | header.php | 2 | ||||
-rw-r--r-- | sidebar.php | 8 |
6 files changed, 30 insertions, 30 deletions
diff --git a/content-page.php b/content-page.php index 2b07f04..839f4e7 100644 --- a/content-page.php +++ b/content-page.php @@ -19,7 +19,7 @@ printf ( '<div class="main col-md-8"> </div> <article class="info"> <h2 class="titulo">%s</h2> - <p class="fecha">%s ' . __('by', 'Lidra') . ' %s <a href="%s" target="_blank">%s</a></p> + <p class="fecha">%s ' . __('by', 'Lidra') . ' %s <a href="%s" rel="noopener noreferrer" target="_blank">%s</a></p> <div class="categorias"> %s </div> @@ -43,10 +43,10 @@ printf ( '<div class="main col-md-8"> </div> </div>' ); - endwhile; - else: - printf( '<p>' . __('No pages', 'Lidra') . '</p>' ); - endif; + endwhile; + else: + printf( '<p>' . __('No pages', 'Lidra') . '</p>' ); + endif; rewind_posts(); printf(' </div> </div>'); 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> diff --git a/content-single.php b/content-single.php index 00ee91a..77794cf 100644 --- a/content-single.php +++ b/content-single.php @@ -21,7 +21,7 @@ printf (' </div> <article class="info"> <h2 class="titulo">%s</h2> - <p class="fecha">%s ' . __('by', 'Lidra') . ' %s <a href="%s" target="_blank">%s</a></p> + <p class="fecha">%s ' . __('by', 'Lidra') . ' %s <a href="%s" rel="noopener noreferrer" target="_blank">%s</a></p> <div class="categorias"> %s </div> @@ -46,10 +46,10 @@ printf (' </div>' ); comments_template(); - endwhile; - else: - printf( '<p>' . __('No post', 'Lidra') . '</p>' ); - endif; - rewind_posts(); + endwhile; + else: + printf( '<p>' . __('No post', 'Lidra') . '</p>' ); + endif; + rewind_posts(); printf(' </div> </div>'); diff --git a/content.php b/content.php index e81a4ef..9dafbe6 100644 --- a/content.php +++ b/content.php @@ -27,7 +27,7 @@ </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 @@ get_the_permalink(), // has_post_thumbnail(), // the_post_thumbnail( 'homepage-thumb' ), - 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 @@ get_the_excerpt(), //the_category() get_the_category_list() - ); - endwhile; - else: - printf( '<p>' . __('No post', 'Lidra') . '</p>' ); - endif; + ); + endwhile; + else: + printf( '<p>' . __('No post', 'Lidra') . '</p>' ); + endif; rewind_posts(); printf (' </div> @@ -53,7 +53,7 @@ printf( <div class="row"> <div class="logo col-xs-12 col-sm-6"> <h1> - <a class="libre_title_header" href="' . get_bloginfo('url') . '" target="_self">' . get_bloginfo('name') . '</a> + <a class="libre_title_header" href="' . get_bloginfo('url') . '">' . get_bloginfo('name') . '</a> </h1> <h2> <a class="libre_title_description">'. get_bloginfo('description') .'</a> diff --git a/sidebar.php b/sidebar.php index 50ab945..b9de130 100644 --- a/sidebar.php +++ b/sidebar.php @@ -4,11 +4,11 @@ <div class="titulo-seccion"> <h3>Redes Sociales Libres</h3> <div class="redes-sociales-libres"> - <a href="https://www.fediverse.org/" target="_blank" class="gnusocial"> + <a href="https://www.fediverse.org/" rel="noopener noreferrer" target="_blank" class="gnusocial"> <i class="icono icon-gnusocial"></i> <span class="delta-ru">gnusocial</span> </a> - <a href="https://podupti.me/" target="_blank" class="diaspora"> + <a href="https://podupti.me/" rel="noopener noreferrer" target="_blank" class="diaspora"> <i class="icono icon-diaspora"></i> <span class="delta-ru">diaspora*</span> </a> @@ -29,9 +29,9 @@ <div class="widget no-facebook"> <div class="contenedor-no-facebook"> - <a href="https://www.fsf.org/fb" target="_blank"> + <a href="https://www.fsf.org/fb" rel="noopener noreferrer" target="_blank"> <figure> - <img class="img-thumbnail" src="' . get_bloginfo('template_url') . '/img/not-fd.svg" alt="no-facebook" title="No Facebook"> + <img class="img-thumbnail" src="' . get_bloginfo('template_url') . '/img/not-fd.svg" alt="no-facebook" title="Not Facebook"> </figure> </a> </div> |