PluginProbe
Boxzilla – WordPress Popup Builder / 3.2.4
Boxzilla – WordPress Popup Builder v3.2.4
3.4.11 3.4.10 3.4.9 3.4.3 3.4.4 3.4.5 3.4.6 3.4.7 3.4.8 trunk 3.0 3.0.1 3.0.2 3.0.3 3.1 3.1.1 3.1.10 3.1.11 3.1.12 3.1.13 3.1.14 3.1.15 3.1.16 3.1.17 3.1.18 All 72 releases
← All changes | src/functions.php +4 -8 3.4.103.2.4 View file →
@@ -1,21 +1,17 @@
1 1 <?php
2 2
3 -if (! defined('ABSPATH')) {
4 - exit;
5 -}
6 -
7 3 use Boxzilla\Boxzilla;
8 4
9 5 /**
10 6 * @return Boxzilla
11 7 */
12 -function boxzilla()
13 -{
8 +function boxzilla() {
14 9 static $instance;
15 10
16 - if (is_null($instance)) {
17 - $instance = new Boxzilla();
11 + if( is_null( $instance ) ) {
12 + $instance = new Boxzilla();
18 13 }
19 14
20 15 return $instance;
21 16 }
17 +