tareq1988/wordpress-settings-api-class — pull request #5 by rinatkhaziev (2012-10-19 17:28:15+00:00)
Title: Coding standards, getting rid of singleton in OOP example, making sure no class/function collisions happen

Hey,

Got some time to fix potential issues:
1) got rid of singleton in OOP example. Here's why: say two plugin authors use WeDevs::getInstance(), what will happen is one's properties would be overwritten by other ones. It's probably better to make getInstance method return new instance each time it's called. After all, you intended this class to be used in multiple plugins.

2. added a buch of class|function_checks

3. WP coding standards.