Make WordPress Core

Opened 5 years ago

Last modified 5 years ago

#48151 new defect (bug)

Setting featured image appears to use site URL instead of WordPress URL

Reported by: zanderz's profile ZanderZ Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.2.3
Component: Editor Keywords:
Focuses: Cc:


Steps to reproduce:

  • have a site with a different WordPress URL and site URL (i.e. our site uses WPML and is configured to have the English site on and the Dutch site on
  • go to a page/post/custom post type
  • try to set a featured image

WP does a fetch call to instead of which fails because I am logged in to the .nl site, not the .com site

The request fails, no featured image is stored and the spinner keeps spinning.

Change History (2)

This ticket was mentioned in Slack in #core-media by desrosj. View the logs.

5 years ago

#2 @ZanderZ
5 years ago

Update: it's not just featured images. It's (some) pages and custom post types as well.

Note: See TracTickets for help on using tickets.