- not including wp_footer and wp_head
- not updating jquery
- One of the most important issue is not controlling scope of their scripts and stylesheets , I have seen this in files from some top authors as well that their framework’s scripts and css files are included on all wp admin pages even on those where there is no use. It has two problems , first there is performance issue and second it may conflict with plugin files.
Hi it’s not that , on one theme author was using uploadify and it was uploading on all wp admin pages , our plugin also uses uploadify and due his bad practice plugin wasnt working and buyer thinks our plugin is buggy.
Maybe some fellow authors can reply with there findings or experiences. Both plugin developers and theme developers are welcome to join in.
- Sold between 250 000 and 1 000 000 dollars
- Community Moderator
- Author was Featured
- Author has had an Item Featured
- Bought between 50 and 99 items
- Referred more than 2000 users
- Has been a member for 3-4 years
- Repeatedly Helped protect Envato Marketplaces against copyright violations
I agree that there needs to be better adherence to WordPress best practices. I have definitely run into a lot of users that think a plugin is “broken” because the theme they’re using hasn’t done something properly so it won’t play nice with plugins. The most common issue I’ve seen is themes that run their own version of jQuery (whether through the Google CDN or by including it in the theme files) without properly deregistering, enqueueing, and running in no conflict mode. Another is implementing the WP3 nav menu system improperly.
However, I believe the review process standards have recently been heightened to require these best practices, so it shouldn’t be as much of an issue with new themes.
Also, I think most of the topics that would be covered here are already covered in the Tools & Tips thread http://themeforest.net/forums/thread/tools-tips-for-wp-authors/40268