PluginProbe
SureCart – Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments / 1.2.0
SureCart – Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments v1.2.0
4.7.2 4.7.1 4.7.0 4.6.6 4.6.5 4.6.4 4.6.3 4.6.2 4.6.1 4.6.0 4.5.1 4.5.0 4.4.2 4.4.1 4.4.0 4.3.3 4.3.2 4.3.1 4.3.0 4.2.3 4.2.2 4.2.1 1.0.3 1.0.4 1.0.5 All 281 releases
← All changes | app/src/Controllers/Admin/Orders/OrderScriptsController.php +1 -20 4.5.11.2.0 View file →
@@ -12,9 +12,9 @@
12 12 * What types of data to add the the page.
13 13 *
14 14 * @var array
15 15 */
16 - protected $with_data = [ 'currency', 'supported_currencies', 'links', 'shipping_protocol', 'i18n', 'google_map_api_key' ];
16 + protected $with_data = [ 'currency', 'supported_currencies', 'links' ];
17 17
18 18 /**
19 19 * Script handle.
20 20 *
@@ -27,24 +27,5 @@
27 27 *
28 28 * @var string
29 29 */
30 30 protected $path = 'admin/orders';
31 -
32 - /**
33 - * Enqueue scripts.
34 - *
35 - * @return void
36 - */
37 - public function enqueue() {
38 - parent::enqueue();
39 - // Enqueue CodeMirror editor with wp.codeEditor API.
40 - wp_enqueue_code_editor(
41 - [
42 - 'type' => 'application/json',
43 - 'codemirror' => [
44 - 'indentUnit' => 2,
45 - 'tabSize' => 2,
46 - ],
47 - ]
48 - );
49 - }
50 31 }