mirror of
https://ghproxy.net/https://github.com/AlxMedia/blogrow.git
synced 2025-08-26 16:32:31 +08:00
Add esc_url to get_template_directory_uri, Add "Tested up to:" to style.css
This commit is contained in:
parent
c75c2317b3
commit
7a5527b9fb
5 changed files with 5 additions and 4 deletions
|
@ -5,7 +5,7 @@
|
|||
<?php if ( has_post_thumbnail() ): ?>
|
||||
<?php the_post_thumbnail('blogrow-medium'); ?>
|
||||
<?php else: ?>
|
||||
<img src="<?php echo get_template_directory_uri(); ?>/img/thumb-medium.png" alt="<?php the_title_attribute(); ?>" />
|
||||
<img src="<?php echo esc_url( get_template_directory_uri() ); ?>/img/thumb-medium.png" alt="<?php the_title_attribute(); ?>" />
|
||||
<?php endif; ?>
|
||||
</a>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue