Live data from Hacker News

Starting a New WordPress Plugin with Sublime Text

aspirecode.com

1–7 of 7 posts

Re: Starting a New WordPress Plugin with Sublime Text

#2
"Update jQuery."

This is about the worst possible thing this tutorial could have suggested.

If you are a WordPress plugin or theme developer, please DO NOT include your own copy of jQuery. There's a reason WordPress ships with its own version in No Conflict mode and why wp_enqueue_script exists.

Re: Starting a New WordPress Plugin with Sublime Text

#4
My go-to WP plugin template solution is this one: http://wordpress.org/extend/plugins/oop-plugin-template-solu...

As mmuro mentioned, including your own copy of jQuery is bad advice. Just ensure that the 3rd parameter of wp_enqueue_script() is array('jquery') if you are worried about the order your scripts are loaded.

Re: Starting a New WordPress Plugin with Sublime Text

#5
post #2

"Update jQuery." This is about the worst possible thing this tutorial could have suggested. If you are a WordPress plugin or theme developer, please DO NOT include your own copy of jQuery. There's a reason WordPress ships with its own version in No Conflict mode and why wp_enqueue_script exists.

And the WordPress.org plugin reviewers are really cracking down on plugins that mess with jQuery, so a plugin that does this isn't likely to get hosted in the main repo.

Re: Starting a New WordPress Plugin with Sublime Text

#7

This title is crap. Really this is about a ST2 package. It has nothing to do with WordPress, jQuery, etc. You could have said "Fetch: a new ST2 package to download files" etc. Anything would have been better than what was used.

> Anything would have been better than what was used.

But then, how will they trick people into thinking they're not being advertised to?