@wordpress/build 0.26.0 → 0.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,6 +6,10 @@
6
6
  * @package {{PREFIX}}
7
7
  */
8
8
 
9
+ if ( ! defined( 'ABSPATH' ) ) {
10
+ exit;
11
+ }
12
+
9
13
  return array(
10
14
  {{SCRIPTS}}
11
15
  );
@@ -9,6 +9,10 @@
9
9
  * @package {{PREFIX}}
10
10
  */
11
11
 
12
+ if ( ! defined( 'ABSPATH' ) ) {
13
+ exit;
14
+ }
15
+
12
16
  /**
13
17
  * Registers a style according to `wp_register_style`. Honors this request by
14
18
  * deregistering any style by the same handler before registration.
@@ -6,6 +6,10 @@
6
6
  * @package {{PREFIX}}
7
7
  */
8
8
 
9
+ if ( ! defined( 'ABSPATH' ) ) {
10
+ exit;
11
+ }
12
+
9
13
  return array(
10
14
  {{STYLES}}
11
15
  );
@@ -7,6 +7,10 @@
7
7
  * @package {{PREFIX}}
8
8
  */
9
9
 
10
+ if ( ! defined( 'ABSPATH' ) ) {
11
+ exit;
12
+ }
13
+
10
14
  /**
11
15
  * Register widget script modules.
12
16
  *
@@ -6,6 +6,10 @@
6
6
  * @package {{PREFIX}}
7
7
  */
8
8
 
9
+ if ( ! defined( 'ABSPATH' ) ) {
10
+ exit;
11
+ }
12
+
9
13
  return array(
10
14
  {{WIDGETS}}
11
15
  );