An often made mistake by WordPress developers is to use to generic function and class names. For instance, if you're building a plugin to do with YouTube, using a class name "Youtube" is bound to cause issues: if a user has multiple plugins dealing with Youtube, he or she could very well end up with [...]
Using a namespace for your functions and classes is a post from Joost de Valk's Yoast - Tweaking Websites. A good WordPress blog needs good hosting, you don't want your blog to be slow, or, even worse, down, do you? Check out my thoughts on WordPress hosting!
Source: http://feedproxy.google.com/~r/joostdevalk/~3/k5pp2fEn45M/
more info here more info here more info here more info here more info here more info here more info here
No hay comentarios:
Publicar un comentario