diff --git a/handler.php b/handler.php index a400f2c..d6d3a88 100644 --- a/handler.php +++ b/handler.php @@ -35,7 +35,7 @@ final class Dismissible_Notices_Handler { * @since 1.0 * @var string */ - public $version = '1.2.0'; + public $version = '1.2.1'; /** * Required version of PHP. diff --git a/includes/helper-functions.php b/includes/helper-functions.php index 0a37d1c..c13c123 100644 --- a/includes/helper-functions.php +++ b/includes/helper-functions.php @@ -26,6 +26,11 @@ * @since 1.0 * @return object Dismissible_Notices_Handler */ + +if ( function_exists( 'DNH' ) ) { + return; +} + function DNH() { return Dismissible_Notices_Handler::instance(); }