Skip to content

Image src not updated when site address is changed in Simple Sites with custom domain #94360

Open
@jartes

Description

Quick summary

When a site primary address is changed from a custom domain to another domain or free WordPress.com address, the image src is not updated.

In some scenarios, the original domain is detached from the site (domain is transferred or expires), making the images not being displayed.

Steps to reproduce

  1. On a Simple site with a domain, upload an image and add it to a post/page.
  2. Change the site address to another domain or the default site address.
  3. Check the image src.

What you expected to happen

Having the image src updated

What actually happened

The image src is not updated, and as mentioned, is not being displayed if the domain expires, or is not connected to the site anymore.

Impact

All

Available workarounds?

Yes, difficult to implement

If the above answer is "Yes...", outline the workaround.

The only workaround for now is editing the image src manually in cases where there are a few images.

Platform (Simple and/or Atomic)

Simple

Logs or notes

More context: p1724328833178529-slack-C03TY6J1A

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Labels

Customer ReportIssues or PRs that were reported via Happiness. Previously known as "Happiness Request".TriagedTo be used when issues have been triaged.[Feature Group] Content ManagementFeatures related to the tools and screens that admins use to manage their sites core content.[Feature] MediaThe media screen in Calypso, general media management, or integration with third party media.[Interaction #] > 10(Automated) interaction count label for better visibility. Please don't add these manualliy.[Platform] Simple[Pri] HighAddress as soon as possible after BLOCKER issues[Product] WordPress.comAll features accessible on and related to WordPress.com.[Status] Priority Review TriggeredQuality squad has been notified of this issue in #dotcom-triage-alerts[Type] Bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions