Add the ability to disable the PHP Code execution feature by using a new 'post_snippets_php_execution_enabled ' filter

To disable the "PHP Code" execution feature, add the following code your theme's functions.php file:

add_filter('post_snippets_php_execution_enabled', '__return_false');

As per this suggestion: http://wordpress.org/support/topic/disabling-php-code-functionality
Merge pull request #1 from OM4/develop

Add the ability to disable the PHP Code execution feature
Adds .svn to ignore list.
Bugfix: Default values for variables now work correctly

Fixes http://wordpress.org/support/topic/plugin-post-snippets-problem-with-defaults.

To test this, use:

Snippet name (shortcode):
fbcomments

variables: url=
http://www.xyz.com

snippet:
<div class="fb-comments" data-href="{url}" data-num-posts="10" data-width="470" data-colorscheme="dark"></div>

Then add the following to a post or page:

[fbcomments]
[fbcomments url="http://www.abc.com"]

The resulting HTML output now correctly uses the default "http://www.xyz.com" URL in the first example (because the url="" parameter isn't specified in the short code).

The second example instead uses the "http://www.abc.com" URL (because the short code overrides the snippet's default value).

We should probably also update the "Insert Snippet" Javascript code to not actually insert the default value into a post/page.
Version bump to 2.1, and WordPress 3.5.1 compatibility
Merge branch 'develop' of github.com:artstorm/post-snippets into develop
Merge pull request #2 from OM4/defaultvalues

Bugfix: Default values for shortcode variables now work correctly
Merge branch 'develop' of github.com:artstorm/post-snippets into develop
Adds GitHub under related links on description.
Adds license to header.
Updates dev path
Reverts back to old default behaviour, because of a WP_DEBUG notice.
Moves the environment checks into the init class.
Registers autoloader function to comply with PSR-0.
Renames all classes, and moves the class files, to comply with PSR-0.
Removes the Post_Snippets_Base class to comply with PSR-0.
Merge branch 'psr-0' into develop
Adds readme for GitHub.
Makes link list bulleted.
Renames tests to unittest