My little framework continues to evolve along with the plugins that use it.

I’ve dropped the traditional X.Y versioning method and opted to use the internal revision number instead.

Loading

The most important change since the last release (1.6) is that there’s a new method through which the framework loads its files.

  1. The scbLoad4 class is loaded immediately and registers its path in a global.
  2. When the plugins_loaded action fires, the framework loads the most recent version of its files.

At first, only the scbLoad4 class is loaded. Then, after all plugins are loaded (plugins_init action), and then loads the most recent versions of the framework files available, according to the revision number. The tricky part was getting the activation hooks to fire in these conditions.

Other changes

The scbQuery class was replaced with scbQueryManipulation. More on that soon.

The scbRewrite class was removed, since it didn’t really do anything useful.

Also, required WP version was bumped to 3.0.