Astra Customizer Reset - Version 1.0.2

Version Description

  • Improvement: Hardened the security of plugin
  • Improvement: Compatibility with latest WordPress PHP_CodeSniffer rules
Download this release

Release Info

Developer brainstormworg
Plugin Icon 128x128 Astra Customizer Reset
Version 1.0.2
Comparing to
See all releases

Code changes from version 1.0.1 to 1.0.2

class-astra-theme-customizer-reset.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Astra Customizer Reset
4
  * Plugin URI: https://wpastra.com/
5
  * Description: Reset the Astra theme customizer options from customizer interface.
6
- * Version: 1.0.0
7
  * Author: Brainstorm Force
8
  * Author URI: http://www.brainstormforce.com
9
  * Text Domain: astra-customizer-reset
@@ -12,7 +12,7 @@
12
  */
13
 
14
  define( 'ASTRA_THEME_CUSTOMIZER_RESET_URI', plugins_url( '/', __FILE__ ) );
15
-
16
  /**
17
  * Astra Customizer Reset
18
  *
@@ -48,7 +48,7 @@ if ( ! class_exists( 'Astra_Theme_Customizer_Reset' ) ) :
48
  */
49
  public static function get_instance() {
50
  if ( ! isset( self::$instance ) ) {
51
- self::$instance = new self;
52
  }
53
  return self::$instance;
54
  }
@@ -61,8 +61,8 @@ if ( ! class_exists( 'Astra_Theme_Customizer_Reset' ) ) :
61
  public function __construct() {
62
 
63
  add_action( 'wp_ajax_astra_theme_customizer_reset', array( $this, 'ajax_customizer_reset' ) );
64
- add_action( 'customize_controls_enqueue_scripts', array( $this, 'controls_scripts' ) );
65
- add_action( 'customize_register', array( $this, 'customize_register' ) );
66
 
67
  }
68
 
@@ -125,22 +125,29 @@ if ( ! class_exists( 'Astra_Theme_Customizer_Reset' ) ) :
125
  public function controls_scripts() {
126
 
127
  // Enqueue JS.
128
- wp_enqueue_script( 'astra-theme-customizer-reset', ASTRA_THEME_CUSTOMIZER_RESET_URI . 'assets/js/customizer-reset.js', array( 'jquery', 'astra-customizer-controls-toggle-js' ), null, true );
129
 
130
  // Add localize JS.
131
- wp_localize_script( 'astra-theme-customizer-reset', 'astraThemeCustomizerReset', apply_filters( 'astra_theme_customizer_reset_js_localize', array(
132
- 'customizer' => array(
133
- 'reset' => array(
134
- 'stringConfirm' => __( 'Warning! This will remove all the Astra theme customizer options!', 'astra-customizer-reset' ),
135
- 'stringReset' => __( 'Reset All', 'astra-customizer-reset' ),
136
- 'nonce' => wp_create_nonce( 'astra-theme-customizer-reset' ),
137
- ),
138
- ),
139
- ) ) );
 
 
 
 
 
 
 
140
  }
141
  }
142
 
143
- endif; // End if().
144
 
145
  /**
146
  * Kicking this off by calling 'get_instance()' method
3
  * Plugin Name: Astra Customizer Reset
4
  * Plugin URI: https://wpastra.com/
5
  * Description: Reset the Astra theme customizer options from customizer interface.
6
+ * Version: 1.0.2
7
  * Author: Brainstorm Force
8
  * Author URI: http://www.brainstormforce.com
9
  * Text Domain: astra-customizer-reset
12
  */
13
 
14
  define( 'ASTRA_THEME_CUSTOMIZER_RESET_URI', plugins_url( '/', __FILE__ ) );
15
+ define( 'ASTRA_CUSTOMIZER_VERSION', '1.0.2' );
16
  /**
17
  * Astra Customizer Reset
18
  *
48
  */
49
  public static function get_instance() {
50
  if ( ! isset( self::$instance ) ) {
51
+ self::$instance = new self();
52
  }
53
  return self::$instance;
54
  }
61
  public function __construct() {
62
 
63
  add_action( 'wp_ajax_astra_theme_customizer_reset', array( $this, 'ajax_customizer_reset' ) );
64
+ add_action( 'customize_controls_enqueue_scripts', array( $this, 'controls_scripts' ) );
65
+ add_action( 'customize_register', array( $this, 'customize_register' ) );
66
 
67
  }
68
 
125
  public function controls_scripts() {
126
 
127
  // Enqueue JS.
128
+ wp_enqueue_script( 'astra-theme-customizer-reset', ASTRA_THEME_CUSTOMIZER_RESET_URI . 'assets/js/customizer-reset.js', array( 'jquery', 'astra-customizer-controls-toggle-js' ), ASTRA_CUSTOMIZER_VERSION, true );
129
 
130
  // Add localize JS.
131
+ wp_localize_script(
132
+ 'astra-theme-customizer-reset',
133
+ 'astraThemeCustomizerReset',
134
+ apply_filters(
135
+ 'astra_theme_customizer_reset_js_localize',
136
+ array(
137
+ 'customizer' => array(
138
+ 'reset' => array(
139
+ 'stringConfirm' => __( 'Warning! This will remove all the Astra theme customizer options!', 'astra-customizer-reset' ),
140
+ 'stringReset' => __( 'Reset All', 'astra-customizer-reset' ),
141
+ 'nonce' => wp_create_nonce( 'astra-theme-customizer-reset' ),
142
+ ),
143
+ ),
144
+ )
145
+ )
146
+ );
147
  }
148
  }
149
 
150
+ endif;
151
 
152
  /**
153
  * Kicking this off by calling 'get_instance()' method
languages/reset-astra-customizer.pot ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2020
2
+ # This file is distributed under the same license as the package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: \n"
6
+ "Report-Msgid-Bugs-To: "
7
+ "https://wordpress.org/support/plugin/reset-astra-customizer\n"
8
+ "POT-Creation-Date: 2020-01-23 09:48:01+00:00\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=utf-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "PO-Revision-Date: 2020-MO-DA HO:MI+ZONE\n"
13
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
+ "Language-Team: LANGUAGE <LL@li.org>\n"
15
+ "Language: en\n"
16
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
+ "X-Poedit-Country: United States\n"
18
+ "X-Poedit-SourceCharset: UTF-8\n"
19
+ "X-Poedit-KeywordsList: "
20
+ "__;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_"
21
+ "attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c;\n"
22
+ "X-Poedit-Basepath: ../\n"
23
+ "X-Poedit-SearchPath-0: .\n"
24
+ "X-Poedit-Bookmarks: \n"
25
+ "X-Textdomain-Support: yes\n"
26
+ "X-Generator: grunt-wp-i18n1.0.2\n"
27
+
28
+ #: class-astra-theme-customizer-reset.php:134
29
+ msgid "Warning! This will remove all the Astra theme customizer options!"
30
+ msgstr ""
31
+
32
+ #: class-astra-theme-customizer-reset.php:135
33
+ msgid "Reset All"
34
+ msgstr ""
package-lock.json ADDED
@@ -0,0 +1,932 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "reset-astra-customizer",
3
+ "version": "1.0.1",
4
+ "lockfileVersion": 1,
5
+ "requires": true,
6
+ "dependencies": {
7
+ "abbrev": {
8
+ "version": "1.1.1",
9
+ "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz",
10
+ "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==",
11
+ "dev": true
12
+ },
13
+ "ansi-styles": {
14
+ "version": "3.2.1",
15
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
16
+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
17
+ "dev": true,
18
+ "requires": {
19
+ "color-convert": "^1.9.0"
20
+ }
21
+ },
22
+ "argparse": {
23
+ "version": "1.0.10",
24
+ "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
25
+ "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==",
26
+ "dev": true,
27
+ "requires": {
28
+ "sprintf-js": "~1.0.2"
29
+ },
30
+ "dependencies": {
31
+ "sprintf-js": {
32
+ "version": "1.0.3",
33
+ "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",
34
+ "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=",
35
+ "dev": true
36
+ }
37
+ }
38
+ },
39
+ "array-find-index": {
40
+ "version": "1.0.2",
41
+ "resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz",
42
+ "integrity": "sha1-3wEKoSh+Fku9pvlyOwqWoexBh6E=",
43
+ "dev": true
44
+ },
45
+ "async": {
46
+ "version": "1.5.2",
47
+ "resolved": "http://registry.npmjs.org/async/-/async-1.5.2.tgz",
48
+ "integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=",
49
+ "dev": true
50
+ },
51
+ "balanced-match": {
52
+ "version": "1.0.0",
53
+ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",
54
+ "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=",
55
+ "dev": true
56
+ },
57
+ "bluebird": {
58
+ "version": "3.5.3",
59
+ "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.3.tgz",
60
+ "integrity": "sha512-/qKPUQlaW1OyR51WeCPBvRnAlnZFUJkCSG5HzGnuIqhgyJtF+T94lFnn33eiazjRm2LAHVy2guNnaq48X9SJuw==",
61
+ "dev": true
62
+ },
63
+ "brace-expansion": {
64
+ "version": "1.1.11",
65
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
66
+ "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
67
+ "dev": true,
68
+ "requires": {
69
+ "balanced-match": "^1.0.0",
70
+ "concat-map": "0.0.1"
71
+ }
72
+ },
73
+ "builtin-modules": {
74
+ "version": "1.1.1",
75
+ "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz",
76
+ "integrity": "sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8=",
77
+ "dev": true
78
+ },
79
+ "camelcase": {
80
+ "version": "2.1.1",
81
+ "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz",
82
+ "integrity": "sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8=",
83
+ "dev": true
84
+ },
85
+ "camelcase-keys": {
86
+ "version": "2.1.0",
87
+ "resolved": "http://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz",
88
+ "integrity": "sha1-MIvur/3ygRkFHvodkyITyRuPkuc=",
89
+ "dev": true,
90
+ "requires": {
91
+ "camelcase": "^2.0.0",
92
+ "map-obj": "^1.0.0"
93
+ }
94
+ },
95
+ "chalk": {
96
+ "version": "2.4.1",
97
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz",
98
+ "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==",
99
+ "dev": true,
100
+ "requires": {
101
+ "ansi-styles": "^3.2.1",
102
+ "escape-string-regexp": "^1.0.5",
103
+ "supports-color": "^5.3.0"
104
+ }
105
+ },
106
+ "coffeescript": {
107
+ "version": "1.10.0",
108
+ "resolved": "https://registry.npmjs.org/coffeescript/-/coffeescript-1.10.0.tgz",
109
+ "integrity": "sha1-56qDAZF+9iGzXYo580jc3R234z4=",
110
+ "dev": true
111
+ },
112
+ "color-convert": {
113
+ "version": "1.9.3",
114
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
115
+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
116
+ "dev": true,
117
+ "requires": {
118
+ "color-name": "1.1.3"
119
+ }
120
+ },
121
+ "color-name": {
122
+ "version": "1.1.3",
123
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
124
+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",
125
+ "dev": true
126
+ },
127
+ "colors": {
128
+ "version": "1.1.2",
129
+ "resolved": "http://registry.npmjs.org/colors/-/colors-1.1.2.tgz",
130
+ "integrity": "sha1-FopHAXVran9RoSzgyXv6KMCE7WM=",
131
+ "dev": true
132
+ },
133
+ "concat-map": {
134
+ "version": "0.0.1",
135
+ "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
136
+ "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=",
137
+ "dev": true
138
+ },
139
+ "core-util-is": {
140
+ "version": "1.0.2",
141
+ "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
142
+ "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=",
143
+ "dev": true
144
+ },
145
+ "currently-unhandled": {
146
+ "version": "0.4.1",
147
+ "resolved": "https://registry.npmjs.org/currently-unhandled/-/currently-unhandled-0.4.1.tgz",
148
+ "integrity": "sha1-mI3zP+qxke95mmE2nddsF635V+o=",
149
+ "dev": true,
150
+ "requires": {
151
+ "array-find-index": "^1.0.1"
152
+ }
153
+ },
154
+ "dateformat": {
155
+ "version": "1.0.12",
156
+ "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-1.0.12.tgz",
157
+ "integrity": "sha1-nxJLZ1lMk3/3BpMuSmQsyo27/uk=",
158
+ "dev": true,
159
+ "requires": {
160
+ "get-stdin": "^4.0.1",
161
+ "meow": "^3.3.0"
162
+ }
163
+ },
164
+ "decamelize": {
165
+ "version": "1.2.0",
166
+ "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz",
167
+ "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=",
168
+ "dev": true
169
+ },
170
+ "encoding": {
171
+ "version": "0.1.12",
172
+ "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.12.tgz",
173
+ "integrity": "sha1-U4tm8+5izRq1HsMjgp0flIDHS+s=",
174
+ "dev": true,
175
+ "requires": {
176
+ "iconv-lite": "~0.4.13"
177
+ }
178
+ },
179
+ "error-ex": {
180
+ "version": "1.3.2",
181
+ "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz",
182
+ "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==",
183
+ "dev": true,
184
+ "requires": {
185
+ "is-arrayish": "^0.2.1"
186
+ }
187
+ },
188
+ "escape-string-regexp": {
189
+ "version": "1.0.5",
190
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
191
+ "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=",
192
+ "dev": true
193
+ },
194
+ "esprima": {
195
+ "version": "2.7.3",
196
+ "resolved": "https://registry.npmjs.org/esprima/-/esprima-2.7.3.tgz",
197
+ "integrity": "sha1-luO3DVd59q1JzQMmc9HDEnZ7pYE=",
198
+ "dev": true
199
+ },
200
+ "eventemitter2": {
201
+ "version": "0.4.14",
202
+ "resolved": "http://registry.npmjs.org/eventemitter2/-/eventemitter2-0.4.14.tgz",
203
+ "integrity": "sha1-j2G3XN4BKy6esoTUVFWDtWQ7Yas=",
204
+ "dev": true
205
+ },
206
+ "exit": {
207
+ "version": "0.1.2",
208
+ "resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz",
209
+ "integrity": "sha1-BjJjj42HfMghB9MKD/8aF8uhzQw=",
210
+ "dev": true
211
+ },
212
+ "find-up": {
213
+ "version": "1.1.2",
214
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz",
215
+ "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=",
216
+ "dev": true,
217
+ "requires": {
218
+ "path-exists": "^2.0.0",
219
+ "pinkie-promise": "^2.0.0"
220
+ }
221
+ },
222
+ "findup-sync": {
223
+ "version": "0.3.0",
224
+ "resolved": "https://registry.npmjs.org/findup-sync/-/findup-sync-0.3.0.tgz",
225
+ "integrity": "sha1-N5MKpdgWt3fANEXhlmzGeQpMCxY=",
226
+ "dev": true,
227
+ "requires": {
228
+ "glob": "~5.0.0"
229
+ },
230
+ "dependencies": {
231
+ "glob": {
232
+ "version": "5.0.15",
233
+ "resolved": "https://registry.npmjs.org/glob/-/glob-5.0.15.tgz",
234
+ "integrity": "sha1-G8k2ueAvSmA/zCIuz3Yz0wuLk7E=",
235
+ "dev": true,
236
+ "requires": {
237
+ "inflight": "^1.0.4",
238
+ "inherits": "2",
239
+ "minimatch": "2 || 3",
240
+ "once": "^1.3.0",
241
+ "path-is-absolute": "^1.0.0"
242
+ }
243
+ }
244
+ }
245
+ },
246
+ "fs.realpath": {
247
+ "version": "1.0.0",
248
+ "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
249
+ "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=",
250
+ "dev": true
251
+ },
252
+ "get-stdin": {
253
+ "version": "4.0.1",
254
+ "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz",
255
+ "integrity": "sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4=",
256
+ "dev": true
257
+ },
258
+ "getobject": {
259
+ "version": "0.1.0",
260
+ "resolved": "https://registry.npmjs.org/getobject/-/getobject-0.1.0.tgz",
261
+ "integrity": "sha1-BHpEl4n6Fg0Bj1SG7ZEyC27HiFw=",
262
+ "dev": true
263
+ },
264
+ "gettext-parser": {
265
+ "version": "2.1.0",
266
+ "resolved": "https://registry.npmjs.org/gettext-parser/-/gettext-parser-2.1.0.tgz",
267
+ "integrity": "sha512-YGmu8DSm7PBnwItT+aOiqejOogqctHFzn+wBKUzjDFQP00psAtn/W2paWQxqE5eA5Ijrqaf7xuTKqyCHpuxnrg==",
268
+ "dev": true,
269
+ "requires": {
270
+ "encoding": "^0.1.12",
271
+ "readable-stream": "^2.0.0",
272
+ "safe-buffer": "^5.1.2"
273
+ }
274
+ },
275
+ "glob": {
276
+ "version": "7.0.6",
277
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.0.6.tgz",
278
+ "integrity": "sha1-IRuvr0nlJbjNkyYNFKsTYVKz9Xo=",
279
+ "dev": true,
280
+ "requires": {
281
+ "fs.realpath": "^1.0.0",
282
+ "inflight": "^1.0.4",
283
+ "inherits": "2",
284
+ "minimatch": "^3.0.2",
285
+ "once": "^1.3.0",
286
+ "path-is-absolute": "^1.0.0"
287
+ }
288
+ },
289
+ "graceful-fs": {
290
+ "version": "4.1.15",
291
+ "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.15.tgz",
292
+ "integrity": "sha512-6uHUhOPEBgQ24HM+r6b/QwWfZq+yiFcipKFrOFiBEnWdy5sdzYoi+pJeQaPI5qOLRFqWmAXUPQNsielzdLoecA==",
293
+ "dev": true
294
+ },
295
+ "grunt": {
296
+ "version": "1.0.3",
297
+ "resolved": "https://registry.npmjs.org/grunt/-/grunt-1.0.3.tgz",
298
+ "integrity": "sha512-/JzmZNPfKorlCrrmxWqQO4JVodO+DVd5XX4DkocL/1WlLlKVLE9+SdEIempOAxDhWPysLle6afvn/hg7Ck2k9g==",
299
+ "dev": true,
300
+ "requires": {
301
+ "coffeescript": "~1.10.0",
302
+ "dateformat": "~1.0.12",
303
+ "eventemitter2": "~0.4.13",
304
+ "exit": "~0.1.1",
305
+ "findup-sync": "~0.3.0",
306
+ "glob": "~7.0.0",
307
+ "grunt-cli": "~1.2.0",
308
+ "grunt-known-options": "~1.1.0",
309
+ "grunt-legacy-log": "~2.0.0",
310
+ "grunt-legacy-util": "~1.1.1",
311
+ "iconv-lite": "~0.4.13",
312
+ "js-yaml": "~3.5.2",
313
+ "minimatch": "~3.0.2",
314
+ "mkdirp": "~0.5.1",
315
+ "nopt": "~3.0.6",
316
+ "path-is-absolute": "~1.0.0",
317
+ "rimraf": "~2.6.2"
318
+ },
319
+ "dependencies": {
320
+ "grunt-cli": {
321
+ "version": "1.2.0",
322
+ "resolved": "http://registry.npmjs.org/grunt-cli/-/grunt-cli-1.2.0.tgz",
323
+ "integrity": "sha1-VisRnrsGndtGSs4oRVAb6Xs1tqg=",
324
+ "dev": true,
325
+ "requires": {
326
+ "findup-sync": "~0.3.0",
327
+ "grunt-known-options": "~1.1.0",
328
+ "nopt": "~3.0.6",
329
+ "resolve": "~1.1.0"
330
+ }
331
+ }
332
+ }
333
+ },
334
+ "grunt-known-options": {
335
+ "version": "1.1.1",
336
+ "resolved": "https://registry.npmjs.org/grunt-known-options/-/grunt-known-options-1.1.1.tgz",
337
+ "integrity": "sha512-cHwsLqoighpu7TuYj5RonnEuxGVFnztcUqTqp5rXFGYL4OuPFofwC4Ycg7n9fYwvK6F5WbYgeVOwph9Crs2fsQ==",
338
+ "dev": true
339
+ },
340
+ "grunt-legacy-log": {
341
+ "version": "2.0.0",
342
+ "resolved": "https://registry.npmjs.org/grunt-legacy-log/-/grunt-legacy-log-2.0.0.tgz",
343
+ "integrity": "sha512-1m3+5QvDYfR1ltr8hjiaiNjddxGdQWcH0rw1iKKiQnF0+xtgTazirSTGu68RchPyh1OBng1bBUjLmX8q9NpoCw==",
344
+ "dev": true,
345
+ "requires": {
346
+ "colors": "~1.1.2",
347
+ "grunt-legacy-log-utils": "~2.0.0",
348
+ "hooker": "~0.2.3",
349
+ "lodash": "~4.17.5"
350
+ }
351
+ },
352
+ "grunt-legacy-log-utils": {
353
+ "version": "2.0.1",
354
+ "resolved": "https://registry.npmjs.org/grunt-legacy-log-utils/-/grunt-legacy-log-utils-2.0.1.tgz",
355
+ "integrity": "sha512-o7uHyO/J+i2tXG8r2bZNlVk20vlIFJ9IEYyHMCQGfWYru8Jv3wTqKZzvV30YW9rWEjq0eP3cflQ1qWojIe9VFA==",
356
+ "dev": true,
357
+ "requires": {
358
+ "chalk": "~2.4.1",
359
+ "lodash": "~4.17.10"
360
+ }
361
+ },
362
+ "grunt-legacy-util": {
363
+ "version": "1.1.1",
364
+ "resolved": "https://registry.npmjs.org/grunt-legacy-util/-/grunt-legacy-util-1.1.1.tgz",
365
+ "integrity": "sha512-9zyA29w/fBe6BIfjGENndwoe1Uy31BIXxTH3s8mga0Z5Bz2Sp4UCjkeyv2tI449ymkx3x26B+46FV4fXEddl5A==",
366
+ "dev": true,
367
+ "requires": {
368
+ "async": "~1.5.2",
369
+ "exit": "~0.1.1",
370
+ "getobject": "~0.1.0",
371
+ "hooker": "~0.2.3",
372
+ "lodash": "~4.17.10",
373
+ "underscore.string": "~3.3.4",
374
+ "which": "~1.3.0"
375
+ }
376
+ },
377
+ "grunt-wp-i18n": {
378
+ "version": "1.0.2",
379
+ "resolved": "https://registry.npmjs.org/grunt-wp-i18n/-/grunt-wp-i18n-1.0.2.tgz",
380
+ "integrity": "sha512-s7DdR1wRYWvgeQOELL/s8AmWz0scVUq+h0yYVWvLx23kTXOBslvaD35NTvubyM+MO+k29bgND0gDDvS6sHixfg==",
381
+ "dev": true,
382
+ "requires": {
383
+ "grunt": "^1.0.2",
384
+ "node-wp-i18n": "^1.0.5"
385
+ }
386
+ },
387
+ "grunt-wp-readme-to-markdown": {
388
+ "version": "2.0.1",
389
+ "resolved": "https://registry.npmjs.org/grunt-wp-readme-to-markdown/-/grunt-wp-readme-to-markdown-2.0.1.tgz",
390
+ "integrity": "sha1-QGzV6YmIWA3B0W6AXE4uYJJWhVI=",
391
+ "dev": true
392
+ },
393
+ "has-flag": {
394
+ "version": "3.0.0",
395
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
396
+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",
397
+ "dev": true
398
+ },
399
+ "hooker": {
400
+ "version": "0.2.3",
401
+ "resolved": "https://registry.npmjs.org/hooker/-/hooker-0.2.3.tgz",
402
+ "integrity": "sha1-uDT3I8xKJCqmWWNFnfbZhMXT2Vk=",
403
+ "dev": true
404
+ },
405
+ "hosted-git-info": {
406
+ "version": "2.7.1",
407
+ "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.7.1.tgz",
408
+ "integrity": "sha512-7T/BxH19zbcCTa8XkMlbK5lTo1WtgkFi3GvdWEyNuc4Vex7/9Dqbnpsf4JMydcfj9HCg4zUWFTL3Za6lapg5/w==",
409
+ "dev": true
410
+ },
411
+ "iconv-lite": {
412
+ "version": "0.4.24",
413
+ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
414
+ "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",
415
+ "dev": true,
416
+ "requires": {
417
+ "safer-buffer": ">= 2.1.2 < 3"
418
+ }
419
+ },
420
+ "indent-string": {
421
+ "version": "2.1.0",
422
+ "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-2.1.0.tgz",
423
+ "integrity": "sha1-ji1INIdCEhtKghi3oTfppSBJ3IA=",
424
+ "dev": true,
425
+ "requires": {
426
+ "repeating": "^2.0.0"
427
+ }
428
+ },
429
+ "inflight": {
430
+ "version": "1.0.6",
431
+ "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
432
+ "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",
433
+ "dev": true,
434
+ "requires": {
435
+ "once": "^1.3.0",
436
+ "wrappy": "1"
437
+ }
438
+ },
439
+ "inherits": {
440
+ "version": "2.0.3",
441
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
442
+ "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=",
443
+ "dev": true
444
+ },
445
+ "is-arrayish": {
446
+ "version": "0.2.1",
447
+ "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",
448
+ "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=",
449
+ "dev": true
450
+ },
451
+ "is-builtin-module": {
452
+ "version": "1.0.0",
453
+ "resolved": "http://registry.npmjs.org/is-builtin-module/-/is-builtin-module-1.0.0.tgz",
454
+ "integrity": "sha1-VAVy0096wxGfj3bDDLwbHgN6/74=",
455
+ "dev": true,
456
+ "requires": {
457
+ "builtin-modules": "^1.0.0"
458
+ }
459
+ },
460
+ "is-finite": {
461
+ "version": "1.0.2",
462
+ "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.0.2.tgz",
463
+ "integrity": "sha1-zGZ3aVYCvlUO8R6LSqYwU0K20Ko=",
464
+ "dev": true,
465
+ "requires": {
466
+ "number-is-nan": "^1.0.0"
467
+ }
468
+ },
469
+ "is-utf8": {
470
+ "version": "0.2.1",
471
+ "resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz",
472
+ "integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=",
473
+ "dev": true
474
+ },
475
+ "isarray": {
476
+ "version": "1.0.0",
477
+ "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
478
+ "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=",
479
+ "dev": true
480
+ },
481
+ "isexe": {
482
+ "version": "2.0.0",
483
+ "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
484
+ "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=",
485
+ "dev": true
486
+ },
487
+ "js-yaml": {
488
+ "version": "3.5.5",
489
+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.5.5.tgz",
490
+ "integrity": "sha1-A3fDgBfKvHMisNH7zSWkkWQfL74=",
491
+ "dev": true,
492
+ "requires": {
493
+ "argparse": "^1.0.2",
494
+ "esprima": "^2.6.0"
495
+ }
496
+ },
497
+ "load-json-file": {
498
+ "version": "1.1.0",
499
+ "resolved": "http://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz",
500
+ "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=",
501
+ "dev": true,
502
+ "requires": {
503
+ "graceful-fs": "^4.1.2",
504
+ "parse-json": "^2.2.0",
505
+ "pify": "^2.0.0",
506
+ "pinkie-promise": "^2.0.0",
507
+ "strip-bom": "^2.0.0"
508
+ }
509
+ },
510
+ "lodash": {
511
+ "version": "4.17.11",
512
+ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz",
513
+ "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==",
514
+ "dev": true
515
+ },
516
+ "loud-rejection": {
517
+ "version": "1.6.0",
518
+ "resolved": "https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.6.0.tgz",
519
+ "integrity": "sha1-W0b4AUft7leIcPCG0Eghz5mOVR8=",
520
+ "dev": true,
521
+ "requires": {
522
+ "currently-unhandled": "^0.4.1",
523
+ "signal-exit": "^3.0.0"
524
+ }
525
+ },
526
+ "map-obj": {
527
+ "version": "1.0.1",
528
+ "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz",
529
+ "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=",
530
+ "dev": true
531
+ },
532
+ "meow": {
533
+ "version": "3.7.0",
534
+ "resolved": "http://registry.npmjs.org/meow/-/meow-3.7.0.tgz",
535
+ "integrity": "sha1-cstmi0JSKCkKu/qFaJJYcwioAfs=",
536
+ "dev": true,
537
+ "requires": {
538
+ "camelcase-keys": "^2.0.0",
539
+ "decamelize": "^1.1.2",
540
+ "loud-rejection": "^1.0.0",
541
+ "map-obj": "^1.0.1",
542
+ "minimist": "^1.1.3",
543
+ "normalize-package-data": "^2.3.4",
544
+ "object-assign": "^4.0.1",
545
+ "read-pkg-up": "^1.0.1",
546
+ "redent": "^1.0.0",
547
+ "trim-newlines": "^1.0.0"
548
+ }
549
+ },
550
+ "minimatch": {
551
+ "version": "3.0.4",
552
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
553
+ "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
554
+ "dev": true,
555
+ "requires": {
556
+ "brace-expansion": "^1.1.7"
557
+ }
558
+ },
559
+ "minimist": {
560
+ "version": "1.2.0",
561
+ "resolved": "http://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",
562
+ "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=",
563
+ "dev": true
564
+ },
565
+ "mkdirp": {
566
+ "version": "0.5.1",
567
+ "resolved": "http://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
568
+ "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
569
+ "dev": true,
570
+ "requires": {
571
+ "minimist": "0.0.8"
572
+ },
573
+ "dependencies": {
574
+ "minimist": {
575
+ "version": "0.0.8",
576
+ "resolved": "http://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
577
+ "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=",
578
+ "dev": true
579
+ }
580
+ }
581
+ },
582
+ "node-wp-i18n": {
583
+ "version": "1.2.1",
584
+ "resolved": "https://registry.npmjs.org/node-wp-i18n/-/node-wp-i18n-1.2.1.tgz",
585
+ "integrity": "sha512-Wvl98XA/GBnQFe20iAMwlsXvikVOFTVz//cbRsF8OPQf0NIkJdeWToNYww/dZl52lHtS1KUEIVRyWcol5ibHog==",
586
+ "dev": true,
587
+ "requires": {
588
+ "bluebird": "^3.4.1",
589
+ "gettext-parser": "^2.0.0",
590
+ "glob": "^7.0.5",
591
+ "lodash": "^4.14.2",
592
+ "minimist": "^1.2.0",
593
+ "mkdirp": "^0.5.1",
594
+ "tmp": "^0.0.33"
595
+ }
596
+ },
597
+ "nopt": {
598
+ "version": "3.0.6",
599
+ "resolved": "https://registry.npmjs.org/nopt/-/nopt-3.0.6.tgz",
600
+ "integrity": "sha1-xkZdvwirzU2zWTF/eaxopkayj/k=",
601
+ "dev": true,
602
+ "requires": {
603
+ "abbrev": "1"
604
+ }
605
+ },
606
+ "normalize-package-data": {
607
+ "version": "2.4.0",
608
+ "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.4.0.tgz",
609
+ "integrity": "sha512-9jjUFbTPfEy3R/ad/2oNbKtW9Hgovl5O1FvFWKkKblNXoN/Oou6+9+KKohPK13Yc3/TyunyWhJp6gvRNR/PPAw==",
610
+ "dev": true,
611
+ "requires": {
612
+ "hosted-git-info": "^2.1.4",
613
+ "is-builtin-module": "^1.0.0",
614
+ "semver": "2 || 3 || 4 || 5",
615
+ "validate-npm-package-license": "^3.0.1"
616
+ }
617
+ },
618
+ "number-is-nan": {
619
+ "version": "1.0.1",
620
+ "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz",
621
+ "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=",
622
+ "dev": true
623
+ },
624
+ "object-assign": {
625
+ "version": "4.1.1",
626
+ "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
627
+ "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=",
628
+ "dev": true
629
+ },
630
+ "once": {
631
+ "version": "1.4.0",
632
+ "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
633
+ "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
634
+ "dev": true,
635
+ "requires": {
636
+ "wrappy": "1"
637
+ }
638
+ },
639
+ "os-tmpdir": {
640
+ "version": "1.0.2",
641
+ "resolved": "http://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz",
642
+ "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=",
643
+ "dev": true
644
+ },
645
+ "parse-json": {
646
+ "version": "2.2.0",
647
+ "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz",
648
+ "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=",
649
+ "dev": true,
650
+ "requires": {
651
+ "error-ex": "^1.2.0"
652
+ }
653
+ },
654
+ "path-exists": {
655
+ "version": "2.1.0",
656
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz",
657
+ "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=",
658
+ "dev": true,
659
+ "requires": {
660
+ "pinkie-promise": "^2.0.0"
661
+ }
662
+ },
663
+ "path-is-absolute": {
664
+ "version": "1.0.1",
665
+ "resolved": "http://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
666
+ "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=",
667
+ "dev": true
668
+ },
669
+ "path-type": {
670
+ "version": "1.1.0",
671
+ "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz",
672
+ "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=",
673
+ "dev": true,
674
+ "requires": {
675
+ "graceful-fs": "^4.1.2",
676
+ "pify": "^2.0.0",
677
+ "pinkie-promise": "^2.0.0"
678
+ }
679
+ },
680
+ "pify": {
681
+ "version": "2.3.0",
682
+ "resolved": "http://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
683
+ "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=",
684
+ "dev": true
685
+ },
686
+ "pinkie": {
687
+ "version": "2.0.4",
688
+ "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz",
689
+ "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=",
690
+ "dev": true
691
+ },
692
+ "pinkie-promise": {
693
+ "version": "2.0.1",
694
+ "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz",
695
+ "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=",
696
+ "dev": true,
697
+ "requires": {
698
+ "pinkie": "^2.0.0"
699
+ }
700
+ },
701
+ "process-nextick-args": {
702
+ "version": "2.0.0",
703
+ "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz",
704
+ "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==",
705
+ "dev": true
706
+ },
707
+ "read-pkg": {
708
+ "version": "1.1.0",
709
+ "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz",
710
+ "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=",
711
+ "dev": true,
712
+ "requires": {
713
+ "load-json-file": "^1.0.0",
714
+ "normalize-package-data": "^2.3.2",
715
+ "path-type": "^1.0.0"
716
+ }
717
+ },
718
+ "read-pkg-up": {
719
+ "version": "1.0.1",
720
+ "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz",
721
+ "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=",
722
+ "dev": true,
723
+ "requires": {
724
+ "find-up": "^1.0.0",
725
+ "read-pkg": "^1.0.0"
726
+ }
727
+ },
728
+ "readable-stream": {
729
+ "version": "2.3.6",
730
+ "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz",
731
+ "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==",
732
+ "dev": true,
733
+ "requires": {
734
+ "core-util-is": "~1.0.0",
735
+ "inherits": "~2.0.3",
736
+ "isarray": "~1.0.0",
737
+ "process-nextick-args": "~2.0.0",
738
+ "safe-buffer": "~5.1.1",
739
+ "string_decoder": "~1.1.1",
740
+ "util-deprecate": "~1.0.1"
741
+ }
742
+ },
743
+ "redent": {
744
+ "version": "1.0.0",
745
+ "resolved": "https://registry.npmjs.org/redent/-/redent-1.0.0.tgz",
746
+ "integrity": "sha1-z5Fqsf1fHxbfsggi3W7H9zDCr94=",
747
+ "dev": true,
748
+ "requires": {
749
+ "indent-string": "^2.1.0",
750
+ "strip-indent": "^1.0.1"
751
+ }
752
+ },
753
+ "repeating": {
754
+ "version": "2.0.1",
755
+ "resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz",
756
+ "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=",
757
+ "dev": true,
758
+ "requires": {
759
+ "is-finite": "^1.0.0"
760
+ }
761
+ },
762
+ "resolve": {
763
+ "version": "1.1.7",
764
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.1.7.tgz",
765
+ "integrity": "sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs=",
766
+ "dev": true
767
+ },
768
+ "rimraf": {
769
+ "version": "2.6.2",
770
+ "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.2.tgz",
771
+ "integrity": "sha512-lreewLK/BlghmxtfH36YYVg1i8IAce4TI7oao75I1g245+6BctqTVQiBP3YUJ9C6DQOXJmkYR9X9fCLtCOJc5w==",
772
+ "dev": true,
773
+ "requires": {
774
+ "glob": "^7.0.5"
775
+ }
776
+ },
777
+ "safe-buffer": {
778
+ "version": "5.1.2",
779
+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
780
+ "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",
781
+ "dev": true
782
+ },
783
+ "safer-buffer": {
784
+ "version": "2.1.2",
785
+ "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
786
+ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==",
787
+ "dev": true
788
+ },
789
+ "semver": {
790
+ "version": "5.6.0",
791
+ "resolved": "https://registry.npmjs.org/semver/-/semver-5.6.0.tgz",
792
+ "integrity": "sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg==",
793
+ "dev": true
794
+ },
795
+ "signal-exit": {
796
+ "version": "3.0.2",
797
+ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz",
798
+ "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=",
799
+ "dev": true
800
+ },
801
+ "spdx-correct": {
802
+ "version": "3.0.2",
803
+ "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.0.2.tgz",
804
+ "integrity": "sha512-q9hedtzyXHr5S0A1vEPoK/7l8NpfkFYTq6iCY+Pno2ZbdZR6WexZFtqeVGkGxW3TEJMN914Z55EnAGMmenlIQQ==",
805
+ "dev": true,
806
+ "requires": {
807
+ "spdx-expression-parse": "^3.0.0",
808
+ "spdx-license-ids": "^3.0.0"
809
+ }
810
+ },
811
+ "spdx-exceptions": {
812
+ "version": "2.2.0",
813
+ "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.2.0.tgz",
814
+ "integrity": "sha512-2XQACfElKi9SlVb1CYadKDXvoajPgBVPn/gOQLrTvHdElaVhr7ZEbqJaRnJLVNeaI4cMEAgVCeBMKF6MWRDCRA==",
815
+ "dev": true
816
+ },
817
+ "spdx-expression-parse": {
818
+ "version": "3.0.0",
819
+ "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz",
820
+ "integrity": "sha512-Yg6D3XpRD4kkOmTpdgbUiEJFKghJH03fiC1OPll5h/0sO6neh2jqRDVHOQ4o/LMea0tgCkbMgea5ip/e+MkWyg==",
821
+ "dev": true,
822
+ "requires": {
823
+ "spdx-exceptions": "^2.1.0",
824
+ "spdx-license-ids": "^3.0.0"
825
+ }
826
+ },
827
+ "spdx-license-ids": {
828
+ "version": "3.0.2",
829
+ "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.2.tgz",
830
+ "integrity": "sha512-qky9CVt0lVIECkEsYbNILVnPvycuEBkXoMFLRWsREkomQLevYhtRKC+R91a5TOAQ3bCMjikRwhyaRqj1VYatYg==",
831
+ "dev": true
832
+ },
833
+ "sprintf-js": {
834
+ "version": "1.1.1",
835
+ "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.1.tgz",
836
+ "integrity": "sha1-Nr54Mgr+WAH2zqPueLblqrlA6gw=",
837
+ "dev": true
838
+ },
839
+ "string_decoder": {
840
+ "version": "1.1.1",
841
+ "resolved": "http://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
842
+ "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
843
+ "dev": true,
844
+ "requires": {
845
+ "safe-buffer": "~5.1.0"
846
+ }
847
+ },
848
+ "strip-bom": {
849
+ "version": "2.0.0",
850
+ "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz",
851
+ "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=",
852
+ "dev": true,
853
+ "requires": {
854
+ "is-utf8": "^0.2.0"
855
+ }
856
+ },
857
+ "strip-indent": {
858
+ "version": "1.0.1",
859
+ "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz",
860
+ "integrity": "sha1-DHlipq3vp7vUrDZkYKY4VSrhoKI=",
861
+ "dev": true,
862
+ "requires": {
863
+ "get-stdin": "^4.0.1"
864
+ }
865
+ },
866
+ "supports-color": {
867
+ "version": "5.5.0",
868
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
869
+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
870
+ "dev": true,
871
+ "requires": {
872
+ "has-flag": "^3.0.0"
873
+ }
874
+ },
875
+ "tmp": {
876
+ "version": "0.0.33",
877
+ "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz",
878
+ "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==",
879
+ "dev": true,
880
+ "requires": {
881
+ "os-tmpdir": "~1.0.2"
882
+ }
883
+ },
884
+ "trim-newlines": {
885
+ "version": "1.0.0",
886
+ "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz",
887
+ "integrity": "sha1-WIeWa7WCpFA6QetST301ARgVphM=",
888
+ "dev": true
889
+ },
890
+ "underscore.string": {
891
+ "version": "3.3.5",
892
+ "resolved": "https://registry.npmjs.org/underscore.string/-/underscore.string-3.3.5.tgz",
893
+ "integrity": "sha512-g+dpmgn+XBneLmXXo+sGlW5xQEt4ErkS3mgeN2GFbremYeMBSJKr9Wf2KJplQVaiPY/f7FN6atosWYNm9ovrYg==",
894
+ "dev": true,
895
+ "requires": {
896
+ "sprintf-js": "^1.0.3",
897
+ "util-deprecate": "^1.0.2"
898
+ }
899
+ },
900
+ "util-deprecate": {
901
+ "version": "1.0.2",
902
+ "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
903
+ "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=",
904
+ "dev": true
905
+ },
906
+ "validate-npm-package-license": {
907
+ "version": "3.0.4",
908
+ "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz",
909
+ "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==",
910
+ "dev": true,
911
+ "requires": {
912
+ "spdx-correct": "^3.0.0",
913
+ "spdx-expression-parse": "^3.0.0"
914
+ }
915
+ },
916
+ "which": {
917
+ "version": "1.3.1",
918
+ "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz",
919
+ "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==",
920
+ "dev": true,
921
+ "requires": {
922
+ "isexe": "^2.0.0"
923
+ }
924
+ },
925
+ "wrappy": {
926
+ "version": "1.0.2",
927
+ "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
928
+ "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=",
929
+ "dev": true
930
+ }
931
+ }
932
+ }
phpcs.xml.dist ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <ruleset name="WordPress Coding Standards for Plugins">
3
+ <description>Generally-applicable sniffs for WordPress plugins</description>
4
+ <rule ref="PHPCompatibility">
5
+ <exclude name="WordPress.PHP.StrictComparisons.LooseComparison" />
6
+ <exclude name="WordPress.PHP.StrictInArray.MissingTrueStrict" />
7
+ </rule>
8
+ <rule ref="PHPCompatibility"/>
9
+ <config name="testVersion" value="5.3-"/>
10
+
11
+ <rule ref="WordPress-Core" />
12
+ <rule ref="WordPress-Docs" />
13
+ <rule ref="WordPress-Extra" />
14
+
15
+ <!-- Check all PHP files in directory tree by default. -->
16
+ <arg name="extensions" value="php"/>
17
+ <file>.</file>
18
+
19
+ <!-- Show sniff codes in all reports -->
20
+ <arg value="s"/>
21
+
22
+ <exclude-pattern>*/node_modules/*</exclude-pattern>
23
+ <exclude-pattern>*/vendor/*</exclude-pattern>
24
+ </ruleset>
readme.txt CHANGED
@@ -1,22 +1,25 @@
1
  === Astra Customizer Reset ===
2
  Contributors: brainstormforce
3
- Tags: astra theme, customizer reset, reset astra customizer
4
- Tested up to: 5.1
5
- Stable tag: 1.0.1
6
  Requires at least: 4.4
7
 
8
- Reset the Astra theme customizer options from customizer interface.
9
 
10
  == Description ==
11
- The Customizer Astra Theme Customizer reset plugin allows you to reset your Astra theme customizer settings from directly within the customizer interface.
12
 
13
- == Changelog ==
14
 
15
- = 1.0.1 =
16
- * Fix: The stored version number of the theme is not resetted now. This will still be retained after reset.
17
 
18
- = 1.0.0 =
19
- * Initial release.
 
 
 
 
 
20
 
21
  == Installation ==
22
 
@@ -25,6 +28,27 @@ The Customizer Astra Theme Customizer reset plugin allows you to reset your Astr
25
 
26
  == Frequently Asked Questions ==
27
 
28
- = Where to find the customizer reset link? =
 
 
 
 
 
 
29
 
30
- Goto customizer from Appearance -> Customizer. The Reset All button is appear behind the Save button @see http://bsf.io/kh1v5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  === Astra Customizer Reset ===
2
  Contributors: brainstormforce
3
+ Tags: astra theme, customizer reset, reset astra customizer, reset astra theme
4
+ Tested up to: 5.3.2
5
+ Stable tag: 1.0.2
6
  Requires at least: 4.4
7
 
8
+ This plugin helps to reset customizer settings for the Astra theme in a single click.
9
 
10
  == Description ==
 
11
 
12
+ Astra Customizer Reset plugin will reset all customizer settings in one click. The plugin will serve to <a href="https://wordpress.org/themes/astra/" target="_blank"> Astra </a>WordPress theme only.
13
 
14
+ It provides a “Reset" button in the customizer. Clicking this button will set Astra theme customizer options to default.
 
15
 
16
+ = When it can be used? =
17
+
18
+ This is helpful when you experiment with various customizer options to explore the power of the theme and then want to start over. OR wish to set a new design line for the website.
19
+
20
+ The reset button will take you back at the initial state with the theme.
21
+
22
+ This will affect only customizer settings like layouts, typography, colors, buttons, etc.
23
 
24
  == Installation ==
25
 
28
 
29
  == Frequently Asked Questions ==
30
 
31
+ = Where to find a customizer reset button? =
32
+
33
+ Once you install and activate this plugin, go to Appearance > Customize. The reset button will appear at the top of the customizer.
34
+
35
+ = Can I reverse customizer reset action? =
36
+
37
+ No! Once you reset the customizer settings you can not revert it back. You will have to manually set all the choices.
38
 
39
+ == Screenshots ==
40
+
41
+ 1. Visit Astra theme customizer
42
+ 2. Astra Customizer Reset Button
43
+
44
+ == Changelog ==
45
+
46
+ = 1.0.2 =
47
+ - Improvement: Hardened the security of plugin
48
+ - Improvement: Compatibility with latest WordPress PHP_CodeSniffer rules
49
+
50
+ = 1.0.1 =
51
+ * Fix: The stored version number of the theme is not resetted now. This will still be retained after reset.
52
+
53
+ = 1.0.0 =
54
+ * Initial release.