Categories
Package/plugin/module WordPress

Safe Function Call v1.1

I’d like to announce the official release of the updated Safe Function Call plugin (v1.1) for WordPress.

Safely call functions that may not be available (for example, from within a template, calling a function that is provided by a plugin that may be deactivated).

The plugin’s official homepage is located at :
coffee2code.com/wp-plugins/safe-function-call.

This release adds a new function, _sfcf() which allows another function to be called if the originally intended function does not exist. The plugin is noted as being WordPress 2.9+ compatible.

Update: Plugin updated to v1.1.1 (see comment below for more information)

Comments welcome on this post for this version of the plugin. Comments will be closed once this release has been superseded by another.

Read more for a detailed ChangeLog of the release.

Detailed ChangeLog

These are the detailed changes, which may or may not make sense to you depending on your familiarity with the previous features and internals of the plugin.

  • Add new template function _sfcf() to allow calling a function when the intended function isn’t available
  • Add PHPDoc documentation
  • Minor formatting tweaks
  • Note compatibility with WP 2.9+
  • Update copyright date
  • Update readme.txt (including adding Changelog)

One reply on “Safe Function Call v1.1”

v1.1.1 of this plugin has been released

This release does the following:

* Wrapped functions in if(function_exists()) checks
* Note compatibility with WP 3.0+
* Change description
* Minor code reformatting (spacing)
* Remove documentation and instructions from top of plugin file (all of that and more are contained in readme.txt)
* Add Upgrade Notice section to readme.txt

Comments are closed.