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