admin管理员组文章数量:1332865
I noticed that my older images are no longer getting resolved by Wordpress 5.3.4. - the file doesn't exist on that path and 404 gets returned.
For images that were originally uploaded to
.jpg
Wordpress now looks here
.jpg
The function I'm using to resolve image path (none works with old images):
/
<img class="full-size" src="<?php echo get_the_post_thumbnail_url($row['ID'], "medium"); ?>">
/
<?php the_post_thumbnail( 'medium' ); ?>
I'm using Wordpress Multisite for several years already and never had this problem. Before, the older images of the used to be directly in wp-content/uploads/
directory.
The change could either be part of a Wordpress update or a side effect of the newly installed Elementor plugin.
How to overcome this change?
本文标签: Wordpress Multisite Images moved to sites1
版权声明:本文标题:Wordpress Multisite: Images moved to sites1? 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742288342a2447335.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论