Commits

Doug Stewart committed 81c72a7

Making this Core-safe.

Comments (0)

Files changed (1)

includes/functions/options.php

 		$lblg_options = $lblg_defaults;
 	} elseif( (version_compare( $lblg_version, $lblg_stored_options['version'], '!=' )) || (count($lblg_stored_options) != count($lblg_defaults))) {
 		// New version of the options have been detected. Let's reload.
-		$lblg_options = $lblg_stored_options + $lblg_defaults;
+		$lblg_options = wp_parse_args( $lblg_stored_options, $lblg_defaults );
 	} else {
 		// We've previously been installed and the version number
 		// hasn't changed. Assume no change and act accordingly.