Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Themes linking/embedding resources from development websites #8252

Open
1 of 12 tasks
dsas opened this issue Oct 9, 2024 · 5 comments
Open
1 of 12 tasks

Themes linking/embedding resources from development websites #8252

dsas opened this issue Oct 9, 2024 · 5 comments
Labels
[Pri] Low Triaged [Type] Bug Something isn't working

Comments

@dsas
Copy link
Contributor

dsas commented Oct 9, 2024

Quick summary

Several themes are linking to the site used to develop the theme, or is embedding images & assets from that theme development site. This shouldn't be happening for two reasons:

  1. Users have to find and fix all of the links, otherwise their visitors will be taken to your development website. For many of these links they're probably changing them anyway, but they might miss a 'home' link, assuming it'll just work.
  2. If you delete these sites, the people using the fonts and images linked from them will have the appearance of their websites changed.

Currently affected themes:

  • adonay
  • allez
  • artly
  • common
  • eventual
  • goodskin
  • grammerone
  • greenseed
  • raw
  • screenplay
  • stage
  • ueno

Steps to reproduce

Search the code on github for 'mystagingwebsite': https://github.com/search?q=repo%3AAutomattic%2Fthemes%20mystagingwebsite&type=code

A clear and concise description of what you expected to happen.

I expected there to be zero results

What actually happened

It found 18 files across

Impact

One

Available workarounds?

There is no user impact

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

No response

Platform (Simple and/or Atomic)

No response

Logs or notes

No response

@Robertght
Copy link

@dsas, it looks like you have this one on your plate already.

I'm going to mark this as Triaged on our board, but let us know if you need our help checking some things in the process.

@alaczek
Copy link
Contributor

alaczek commented Oct 17, 2024

Adonay is on the list, but I'm not seeing resources from staging site in the code. There was an issue on the demo site specifically, which I fixed.

@alaczek
Copy link
Contributor

alaczek commented Oct 17, 2024

BTW, here's the search results for localhost:

https://github.com/search?q=repo%3AAutomattic%2Fthemes+localhost&type=code

alaczek added a commit that referenced this issue Oct 22, 2024
@alaczek
Copy link
Contributor

alaczek commented Oct 22, 2024

I began working through these, starting with GrammerOne. Boy, is it a can of worms 😬 Essentially, it wasn't using site title, logo and tagline blocks, but static heading and images, so I ended up fixing it in every header. I would appreciate a review though.

Btw, should I create a new branch for every theme I fix, or is it ok to keep it all on one branch with seperate commits for each theme @dsas?

@dsas
Copy link
Contributor Author

dsas commented Oct 22, 2024

Boy, is it a can of worms

😬

should I create a new branch for every theme I fix

Whichever works for you really. It's ok to keep it all on one branch. I prefer many smaller branches as it's quicker to review them one-by-one.

alaczek added a commit that referenced this issue Oct 25, 2024
alaczek added a commit that referenced this issue Oct 25, 2024
alaczek added a commit that referenced this issue Oct 25, 2024
alaczek added a commit that referenced this issue Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Pri] Low Triaged [Type] Bug Something isn't working
Projects
Development

No branches or pull requests

3 participants