I’ve got soft reject. It is not upsetting me at all. Just want to ask community about two things in hope other programmers will share their experience on this.
- I use ‘uni_themedomain_theme_’ prefix for all the functions and actions/filters in my theme. However I have got this msg from the reviewer:
"Prefix everything and use unique (theme-name-based) consistent slugs. Additional prefix is acceptable for when the author is using a framework.
Do not to use initials or abbreviations"
So, I feel like something wrong with my prefix. Is it really bad? Why (if your answer is ‘yes’)?
And this is my description of why I use this prefix:
- ‘uni’ stands for framework like name, to mark functions written by me
- ‘themedomain’ is a theme related part; also it is a domain name for a particular theme (e.g. ‘asana’)
- ‘theme’ is added to distinguish things that are related to themes in general and/or contain translatable strings with a theme domain etc; I also make plugins, so it is quite useful to use this prefix
Does everybody use only ‘themedomain_’ prefix and that’s it? Pls, share your experience.
- About prefixing scripts/styles handlers. I was given this suggestion "To avoid double loading, don’t prefix third-party
scripts and styles."
And these are examles of what I use:
‘jquery-remodal’, ‘jquery-scrollreveal’, ‘js-cookie’. Actually, I haven’t prefixed it with special prefix. I used simple prefix just to highlght whether it is a pure js or based on jquery framework. That’s all. Also, I don’t khow how other authors
prefix such things, so how I can be sure I do it right?)
Pls, share your experience on this too.