Skip to content

Replacement behavior of img tag - srcset attribute #558

@mythnc

Description

@mythnc

I am kind of curious to the replace behavior of srcset attribute in img tag.

When I chose Backup mode, and after synchronized, I found that the URL in src attribute is still WordPress URL, but the URLs in srcset attribute are replaced to gcp URLs in img tag

I think all URLs inside img tag should not been changed, because I chose Backup mode.

I tried to read source code and found that srcset urls will be replaced regardless of mode.

I am not sure this is an expected behavior or a bug?

ref:
https://github.com/udx/wp-stateless/blob/v3.0/lib/classes/class-bootstrap.php#L415

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions