Before upgrading, wrap your plugins
-
If you have plugin functions in your theme, there is the risk that when you upgrade and something goes wrong, that plugin code will throw you an error.
So if the plugin says to use this:
<?php wp_grins(); ?>
Then you need to alter that to be like this:
<?php if (function_exists('wp_grins')) wp_grins(); ?>
That way, if no plugin, no error from the theme.
- The topic ‘Before upgrading, wrap your plugins’ is closed to new replies.