WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I had a colleague create a new theme and while doing so he copied an old theme and made the changes necessary. Now, in many of the files, there are functions that contain the old theme name in the function call instead of the new theme name. Is this parameter used in WordPress for anything and I should therefore change it, or is it OK to leave it with the old theme name?

share|improve this question
up vote 2 down vote accepted

You can leave it or change it, it doesn't matter as long as the theme files use the correct handle for the function. I would choose one name and convert the second version so all use the same name to keep it simple.

share|improve this answer

I believe you're referring to the text domain used for internationalization. It should be safe to leave as-is.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.