If you want to develop a plugin using scbFramework, just download it, open plugin.php
and start hacking. This is all it contains:
<?php
/*
Plugin Name: scbFramework
Version: 1.6
Description: Useful classes for plugin developers
Author: scribu
Author URI: <a href="http://scribu.net" rel="nofollow">http://scribu.net</a>
Plugin URI:
<a href="http://scribu.net/wordpress/scb-framework" rel="nofollow">http://scribu.net/wordpress/scb-framework</a>
*/
require dirname(__FILE__) . '/scb/load.php';
// The rest of your plugin code goes here
If you don’t want to bundle scbFramework with your plugin, you can use the updated scb-check.php
file instead.
Debugging
I’ve moved the debug()
function and related code to a separate file to avoid errors with the Magpie RSS library. If you release your plugin, you should leave out the scb/Debug.php
file.