Completed
Pull Request — develop (#1581)
by David
01:10
created
src/modules/food-kg/includes/admin/Main_Ingredient_List_Table.php 2 patches
Indentation   +65 added lines, -65 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@  discard block
 block discarded – undo
3 3
 namespace Wordlift\Modules\Food_Kg\Admin;
4 4
 
5 5
 if ( ! class_exists( 'WP_List_Table' ) ) {
6
-	require_once ABSPATH . 'wp-admin/includes/class-wp-list-table.php';
6
+    require_once ABSPATH . 'wp-admin/includes/class-wp-list-table.php';
7 7
 }
8 8
 
9 9
 use WP_List_Table;
@@ -11,74 +11,74 @@  discard block
 block discarded – undo
11 11
 
12 12
 class Main_Ingredient_List_Table extends WP_List_Table {
13 13
 
14
-	public function prepare_items() {
15
-		global $wpdb; // This is used only if making any database queries
16
-
17
-		/**
18
-		 * REQUIRED. Now we need to define our column headers. This includes a complete
19
-		 * array of columns to be displayed (slugs & titles), a list of columns
20
-		 * to keep hidden, and a list of columns that are sortable. Each of these
21
-		 * can be defined in another method (as we've done here) before being
22
-		 * used to build the value for our _column_headers property.
23
-		 */
24
-		$columns  = $this->get_columns();
25
-		$hidden   = array();
26
-		$sortable = $this->get_sortable_columns();
27
-
28
-		/**
29
-		 * REQUIRED. Finally, we build an array to be used by the class for column
30
-		 * headers. The $this->_column_headers property takes an array which contains
31
-		 * 3 other arrays. One for all columns, one for hidden columns, and one
32
-		 * for sortable columns.
33
-		 */
34
-		$this->_column_headers = array( $columns, $hidden, $sortable );
35
-
36
-		$this->items = $wpdb->get_results(
37
-			"SELECT p.ID, p.post_title, pm.meta_value
14
+    public function prepare_items() {
15
+        global $wpdb; // This is used only if making any database queries
16
+
17
+        /**
18
+         * REQUIRED. Now we need to define our column headers. This includes a complete
19
+         * array of columns to be displayed (slugs & titles), a list of columns
20
+         * to keep hidden, and a list of columns that are sortable. Each of these
21
+         * can be defined in another method (as we've done here) before being
22
+         * used to build the value for our _column_headers property.
23
+         */
24
+        $columns  = $this->get_columns();
25
+        $hidden   = array();
26
+        $sortable = $this->get_sortable_columns();
27
+
28
+        /**
29
+         * REQUIRED. Finally, we build an array to be used by the class for column
30
+         * headers. The $this->_column_headers property takes an array which contains
31
+         * 3 other arrays. One for all columns, one for hidden columns, and one
32
+         * for sortable columns.
33
+         */
34
+        $this->_column_headers = array( $columns, $hidden, $sortable );
35
+
36
+        $this->items = $wpdb->get_results(
37
+            "SELECT p.ID, p.post_title, pm.meta_value
38 38
 			FROM $wpdb->posts p
39 39
 			INNER JOIN $wpdb->postmeta pm
40 40
 			    ON pm.post_ID = p.ID
41 41
 					AND pm.meta_key = '_wl_main_ingredient_jsonld'"
42
-		);
43
-	}
44
-
45
-	public function no_items() {
46
-		esc_html_e( 'No main ingredients found.', 'wordlift' );
47
-	}
48
-
49
-	public function get_columns() {
50
-		return array(
51
-			'post_title' => __( 'Name', 'wordlift' ),
52
-			'url'        => __( 'URL', 'wordlift' ),
53
-			'actions'    => '',
54
-		);
55
-	}
56
-
57
-	public function column_post_title( $item ) {
58
-		$recipe   = WPRM_Recipe_Manager::get_recipe( $item->ID );
59
-		$edit_url = $recipe->parent_edit_url();
60
-
61
-		return empty( $edit_url ) ? $item->post_title : sprintf( '<a href="%s">%s</a>', $recipe->parent_edit_url(), $item->post_title );
62
-	}
63
-
64
-	public function column_url( $item ) {
65
-		$url = get_permalink( $item->ID );
66
-		return esc_url( $url );
67
-	}
68
-
69
-	public function column_actions( $item ) {
70
-
71
-		$url = admin_url(
72
-			sprintf( 'admin.php?page=wl_ingredients&modal_window=true&id=%d&TB_iframe=true', $item->ID )
73
-		);
74
-
75
-		return sprintf(
76
-			'<a href="%s" class="button alignright thickbox open-plugin-details-modal" data-title="%s" type="button">%s</a>',
77
-			$url,
78
-			esc_attr( $item->post_title ),
79
-			esc_html__( 'JSON-LD', 'wordlift' )
80
-		);
81
-	}
42
+        );
43
+    }
44
+
45
+    public function no_items() {
46
+        esc_html_e( 'No main ingredients found.', 'wordlift' );
47
+    }
48
+
49
+    public function get_columns() {
50
+        return array(
51
+            'post_title' => __( 'Name', 'wordlift' ),
52
+            'url'        => __( 'URL', 'wordlift' ),
53
+            'actions'    => '',
54
+        );
55
+    }
56
+
57
+    public function column_post_title( $item ) {
58
+        $recipe   = WPRM_Recipe_Manager::get_recipe( $item->ID );
59
+        $edit_url = $recipe->parent_edit_url();
60
+
61
+        return empty( $edit_url ) ? $item->post_title : sprintf( '<a href="%s">%s</a>', $recipe->parent_edit_url(), $item->post_title );
62
+    }
63
+
64
+    public function column_url( $item ) {
65
+        $url = get_permalink( $item->ID );
66
+        return esc_url( $url );
67
+    }
68
+
69
+    public function column_actions( $item ) {
70
+
71
+        $url = admin_url(
72
+            sprintf( 'admin.php?page=wl_ingredients&modal_window=true&id=%d&TB_iframe=true', $item->ID )
73
+        );
74
+
75
+        return sprintf(
76
+            '<a href="%s" class="button alignright thickbox open-plugin-details-modal" data-title="%s" type="button">%s</a>',
77
+            $url,
78
+            esc_attr( $item->post_title ),
79
+            esc_html__( 'JSON-LD', 'wordlift' )
80
+        );
81
+    }
82 82
 
83 83
 }
84 84
 
Please login to merge, or discard this patch.
Spacing   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@  discard block
 block discarded – undo
2 2
 
3 3
 namespace Wordlift\Modules\Food_Kg\Admin;
4 4
 
5
-if ( ! class_exists( 'WP_List_Table' ) ) {
6
-	require_once ABSPATH . 'wp-admin/includes/class-wp-list-table.php';
5
+if ( ! class_exists('WP_List_Table')) {
6
+	require_once ABSPATH.'wp-admin/includes/class-wp-list-table.php';
7 7
 }
8 8
 
9 9
 use WP_List_Table;
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 		 * 3 other arrays. One for all columns, one for hidden columns, and one
32 32
 		 * for sortable columns.
33 33
 		 */
34
-		$this->_column_headers = array( $columns, $hidden, $sortable );
34
+		$this->_column_headers = array($columns, $hidden, $sortable);
35 35
 
36 36
 		$this->items = $wpdb->get_results(
37 37
 			"SELECT p.ID, p.post_title, pm.meta_value
@@ -43,40 +43,40 @@  discard block
 block discarded – undo
43 43
 	}
44 44
 
45 45
 	public function no_items() {
46
-		esc_html_e( 'No main ingredients found.', 'wordlift' );
46
+		esc_html_e('No main ingredients found.', 'wordlift');
47 47
 	}
48 48
 
49 49
 	public function get_columns() {
50 50
 		return array(
51
-			'post_title' => __( 'Name', 'wordlift' ),
52
-			'url'        => __( 'URL', 'wordlift' ),
51
+			'post_title' => __('Name', 'wordlift'),
52
+			'url'        => __('URL', 'wordlift'),
53 53
 			'actions'    => '',
54 54
 		);
55 55
 	}
56 56
 
57
-	public function column_post_title( $item ) {
58
-		$recipe   = WPRM_Recipe_Manager::get_recipe( $item->ID );
57
+	public function column_post_title($item) {
58
+		$recipe   = WPRM_Recipe_Manager::get_recipe($item->ID);
59 59
 		$edit_url = $recipe->parent_edit_url();
60 60
 
61
-		return empty( $edit_url ) ? $item->post_title : sprintf( '<a href="%s">%s</a>', $recipe->parent_edit_url(), $item->post_title );
61
+		return empty($edit_url) ? $item->post_title : sprintf('<a href="%s">%s</a>', $recipe->parent_edit_url(), $item->post_title);
62 62
 	}
63 63
 
64
-	public function column_url( $item ) {
65
-		$url = get_permalink( $item->ID );
66
-		return esc_url( $url );
64
+	public function column_url($item) {
65
+		$url = get_permalink($item->ID);
66
+		return esc_url($url);
67 67
 	}
68 68
 
69
-	public function column_actions( $item ) {
69
+	public function column_actions($item) {
70 70
 
71 71
 		$url = admin_url(
72
-			sprintf( 'admin.php?page=wl_ingredients&modal_window=true&id=%d&TB_iframe=true', $item->ID )
72
+			sprintf('admin.php?page=wl_ingredients&modal_window=true&id=%d&TB_iframe=true', $item->ID)
73 73
 		);
74 74
 
75 75
 		return sprintf(
76 76
 			'<a href="%s" class="button alignright thickbox open-plugin-details-modal" data-title="%s" type="button">%s</a>',
77 77
 			$url,
78
-			esc_attr( $item->post_title ),
79
-			esc_html__( 'JSON-LD', 'wordlift' )
78
+			esc_attr($item->post_title),
79
+			esc_html__('JSON-LD', 'wordlift')
80 80
 		);
81 81
 	}
82 82
 
Please login to merge, or discard this patch.
src/modules/food-kg/load.php 2 patches
Indentation   +36 added lines, -36 removed lines patch added patch discarded remove patch
@@ -16,57 +16,57 @@
 block discarded – undo
16 16
 use Wordlift\Modules\Food_Kg\Preconditions;
17 17
 
18 18
 if ( ! defined( 'ABSPATH' ) ) {
19
-	exit;
19
+    exit;
20 20
 }
21 21
 
22 22
 define( 'WL_FOOD_KG_FILE', __FILE__ );
23 23
 define( 'WL_FOOD_KG_DIR_PATH', dirname( WL_FOOD_KG_FILE ) );
24 24
 
25 25
 function __wl_foodkg__load() {
26
-	// Autoloader for dependencies.
27
-	if ( file_exists( WL_FOOD_KG_DIR_PATH . '/third-party/vendor/scoper-autoload.php' ) ) {
28
-		require WL_FOOD_KG_DIR_PATH . '/third-party/vendor/scoper-autoload.php';
29
-	}
26
+    // Autoloader for dependencies.
27
+    if ( file_exists( WL_FOOD_KG_DIR_PATH . '/third-party/vendor/scoper-autoload.php' ) ) {
28
+        require WL_FOOD_KG_DIR_PATH . '/third-party/vendor/scoper-autoload.php';
29
+    }
30 30
 
31
-	// Autoloader for plugin itself.
32
-	if ( file_exists( WL_FOOD_KG_DIR_PATH . '/includes/vendor/autoload.php' ) ) {
33
-		require WL_FOOD_KG_DIR_PATH . '/includes/vendor/autoload.php';
34
-	}
31
+    // Autoloader for plugin itself.
32
+    if ( file_exists( WL_FOOD_KG_DIR_PATH . '/includes/vendor/autoload.php' ) ) {
33
+        require WL_FOOD_KG_DIR_PATH . '/includes/vendor/autoload.php';
34
+    }
35 35
 
36
-	$container_builder = new ContainerBuilder();
37
-	$loader            = new YamlFileLoader( $container_builder, new FileLocator( __DIR__ ) );
38
-	$loader->load( 'services.yml' );
39
-	$container_builder->compile();
36
+    $container_builder = new ContainerBuilder();
37
+    $loader            = new YamlFileLoader( $container_builder, new FileLocator( __DIR__ ) );
38
+    $loader->load( 'services.yml' );
39
+    $container_builder->compile();
40 40
 
41
-	$notices = $container_builder->get( 'Wordlift\Modules\Food_Kg\Notices' );
42
-	$notices->register_hooks();
41
+    $notices = $container_builder->get( 'Wordlift\Modules\Food_Kg\Notices' );
42
+    $notices->register_hooks();
43 43
 
44
-	/**
45
-	 * @var Preconditions $preconditions
46
-	 */
47
-	$preconditions = $container_builder->get( 'Wordlift\Modules\Food_Kg\Preconditions' );
48
-	if ( ! $preconditions->pass() ) {
49
-		return;
50
-	}
44
+    /**
45
+     * @var Preconditions $preconditions
46
+     */
47
+    $preconditions = $container_builder->get( 'Wordlift\Modules\Food_Kg\Preconditions' );
48
+    if ( ! $preconditions->pass() ) {
49
+        return;
50
+    }
51 51
 
52
-	$meta_box = $container_builder->get( 'Wordlift\Modules\Food_Kg\Meta_Box' );
53
-	$meta_box->register_hooks();
52
+    $meta_box = $container_builder->get( 'Wordlift\Modules\Food_Kg\Meta_Box' );
53
+    $meta_box->register_hooks();
54 54
 
55
-	$module = $container_builder->get( 'Wordlift\Modules\Food_Kg\Module' );
56
-	$module->register_hooks();
55
+    $module = $container_builder->get( 'Wordlift\Modules\Food_Kg\Module' );
56
+    $module->register_hooks();
57 57
 
58
-	/** @var Jsonld $jsonld */
59
-	$jsonld = $container_builder->get( 'Wordlift\Modules\Food_Kg\Jsonld' );
60
-	$jsonld->register_hooks();
58
+    /** @var Jsonld $jsonld */
59
+    $jsonld = $container_builder->get( 'Wordlift\Modules\Food_Kg\Jsonld' );
60
+    $jsonld->register_hooks();
61 61
 
62
-	/** @var Main_Ingredient_Jsonld $jsonld */
63
-	$main_ingredient_jsonld = $container_builder->get( 'Wordlift\Modules\Food_Kg\Main_Ingredient_Jsonld' );
64
-	$main_ingredient_jsonld->register_hooks();
62
+    /** @var Main_Ingredient_Jsonld $jsonld */
63
+    $main_ingredient_jsonld = $container_builder->get( 'Wordlift\Modules\Food_Kg\Main_Ingredient_Jsonld' );
64
+    $main_ingredient_jsonld->register_hooks();
65 65
 
66
-	if ( is_admin() ) {
67
-		$page = $container_builder->get( 'Wordlift\Modules\Food_Kg\Admin\Page' );
68
-		$page->register_hooks();
69
-	}
66
+    if ( is_admin() ) {
67
+        $page = $container_builder->get( 'Wordlift\Modules\Food_Kg\Admin\Page' );
68
+        $page->register_hooks();
69
+    }
70 70
 }
71 71
 
72 72
 add_action( 'plugins_loaded', '__wl_foodkg__load' );
Please login to merge, or discard this patch.
Spacing   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -15,59 +15,59 @@
 block discarded – undo
15 15
 use Wordlift\Modules\Food_Kg\Main_Ingredient_Jsonld;
16 16
 use Wordlift\Modules\Food_Kg\Preconditions;
17 17
 
18
-if ( ! defined( 'ABSPATH' ) ) {
18
+if ( ! defined('ABSPATH')) {
19 19
 	exit;
20 20
 }
21 21
 
22
-define( 'WL_FOOD_KG_FILE', __FILE__ );
23
-define( 'WL_FOOD_KG_DIR_PATH', dirname( WL_FOOD_KG_FILE ) );
22
+define('WL_FOOD_KG_FILE', __FILE__);
23
+define('WL_FOOD_KG_DIR_PATH', dirname(WL_FOOD_KG_FILE));
24 24
 
25 25
 function __wl_foodkg__load() {
26 26
 	// Autoloader for dependencies.
27
-	if ( file_exists( WL_FOOD_KG_DIR_PATH . '/third-party/vendor/scoper-autoload.php' ) ) {
28
-		require WL_FOOD_KG_DIR_PATH . '/third-party/vendor/scoper-autoload.php';
27
+	if (file_exists(WL_FOOD_KG_DIR_PATH.'/third-party/vendor/scoper-autoload.php')) {
28
+		require WL_FOOD_KG_DIR_PATH.'/third-party/vendor/scoper-autoload.php';
29 29
 	}
30 30
 
31 31
 	// Autoloader for plugin itself.
32
-	if ( file_exists( WL_FOOD_KG_DIR_PATH . '/includes/vendor/autoload.php' ) ) {
33
-		require WL_FOOD_KG_DIR_PATH . '/includes/vendor/autoload.php';
32
+	if (file_exists(WL_FOOD_KG_DIR_PATH.'/includes/vendor/autoload.php')) {
33
+		require WL_FOOD_KG_DIR_PATH.'/includes/vendor/autoload.php';
34 34
 	}
35 35
 
36 36
 	$container_builder = new ContainerBuilder();
37
-	$loader            = new YamlFileLoader( $container_builder, new FileLocator( __DIR__ ) );
38
-	$loader->load( 'services.yml' );
37
+	$loader            = new YamlFileLoader($container_builder, new FileLocator(__DIR__));
38
+	$loader->load('services.yml');
39 39
 	$container_builder->compile();
40 40
 
41
-	$notices = $container_builder->get( 'Wordlift\Modules\Food_Kg\Notices' );
41
+	$notices = $container_builder->get('Wordlift\Modules\Food_Kg\Notices');
42 42
 	$notices->register_hooks();
43 43
 
44 44
 	/**
45 45
 	 * @var Preconditions $preconditions
46 46
 	 */
47
-	$preconditions = $container_builder->get( 'Wordlift\Modules\Food_Kg\Preconditions' );
48
-	if ( ! $preconditions->pass() ) {
47
+	$preconditions = $container_builder->get('Wordlift\Modules\Food_Kg\Preconditions');
48
+	if ( ! $preconditions->pass()) {
49 49
 		return;
50 50
 	}
51 51
 
52
-	$meta_box = $container_builder->get( 'Wordlift\Modules\Food_Kg\Meta_Box' );
52
+	$meta_box = $container_builder->get('Wordlift\Modules\Food_Kg\Meta_Box');
53 53
 	$meta_box->register_hooks();
54 54
 
55
-	$module = $container_builder->get( 'Wordlift\Modules\Food_Kg\Module' );
55
+	$module = $container_builder->get('Wordlift\Modules\Food_Kg\Module');
56 56
 	$module->register_hooks();
57 57
 
58 58
 	/** @var Jsonld $jsonld */
59
-	$jsonld = $container_builder->get( 'Wordlift\Modules\Food_Kg\Jsonld' );
59
+	$jsonld = $container_builder->get('Wordlift\Modules\Food_Kg\Jsonld');
60 60
 	$jsonld->register_hooks();
61 61
 
62 62
 	/** @var Main_Ingredient_Jsonld $jsonld */
63
-	$main_ingredient_jsonld = $container_builder->get( 'Wordlift\Modules\Food_Kg\Main_Ingredient_Jsonld' );
63
+	$main_ingredient_jsonld = $container_builder->get('Wordlift\Modules\Food_Kg\Main_Ingredient_Jsonld');
64 64
 	$main_ingredient_jsonld->register_hooks();
65 65
 
66
-	if ( is_admin() ) {
67
-		$page = $container_builder->get( 'Wordlift\Modules\Food_Kg\Admin\Page' );
66
+	if (is_admin()) {
67
+		$page = $container_builder->get('Wordlift\Modules\Food_Kg\Admin\Page');
68 68
 		$page->register_hooks();
69 69
 	}
70 70
 }
71 71
 
72
-add_action( 'plugins_loaded', '__wl_foodkg__load' );
72
+add_action('plugins_loaded', '__wl_foodkg__load');
73 73
 
Please login to merge, or discard this patch.
src/js/dist/ingredients.asset.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1 1
 <?php return array(
2
-	'dependencies' => array( 'wp-polyfill' ),
3
-	'version'      => 'fe99374221df50474320974660f8d09a',
2
+    'dependencies' => array( 'wp-polyfill' ),
3
+    'version'      => 'fe99374221df50474320974660f8d09a',
4 4
 );
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1 1
 <?php return array(
2
-	'dependencies' => array( 'wp-polyfill' ),
2
+	'dependencies' => array('wp-polyfill'),
3 3
 	'version'      => 'fe99374221df50474320974660f8d09a',
4 4
 );
Please login to merge, or discard this patch.
src/js/dist/vocabulary-settings-page.asset.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1 1
 <?php return array(
2
-	'dependencies' => array( 'react', 'react-dom', 'wp-polyfill' ),
3
-	'version'      => 'e8d9cf977de278fa05c753dd1c43ebb6',
2
+    'dependencies' => array( 'react', 'react-dom', 'wp-polyfill' ),
3
+    'version'      => 'e8d9cf977de278fa05c753dd1c43ebb6',
4 4
 );
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1 1
 <?php return array(
2
-	'dependencies' => array( 'react', 'react-dom', 'wp-polyfill' ),
2
+	'dependencies' => array('react', 'react-dom', 'wp-polyfill'),
3 3
 	'version'      => 'e8d9cf977de278fa05c753dd1c43ebb6',
4 4
 );
Please login to merge, or discard this patch.
src/js/dist/post-excerpt.asset.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1 1
 <?php return array(
2
-	'dependencies' => array( 'react', 'react-dom', 'wp-polyfill' ),
3
-	'version'      => '1d1d0f4716d1cfbe9eae4e2f4937f862',
2
+    'dependencies' => array( 'react', 'react-dom', 'wp-polyfill' ),
3
+    'version'      => '1d1d0f4716d1cfbe9eae4e2f4937f862',
4 4
 );
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1 1
 <?php return array(
2
-	'dependencies' => array( 'react', 'react-dom', 'wp-polyfill' ),
2
+	'dependencies' => array('react', 'react-dom', 'wp-polyfill'),
3 3
 	'version'      => '1d1d0f4716d1cfbe9eae4e2f4937f862',
4 4
 );
Please login to merge, or discard this patch.
src/js/dist/mappings-edit.asset.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1 1
 <?php return array(
2
-	'dependencies' => array( 'react', 'react-dom', 'wp-polyfill' ),
3
-	'version'      => '39077da78ccc5b5c85d9c72ac9e73c56',
2
+    'dependencies' => array( 'react', 'react-dom', 'wp-polyfill' ),
3
+    'version'      => '39077da78ccc5b5c85d9c72ac9e73c56',
4 4
 );
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1 1
 <?php return array(
2
-	'dependencies' => array( 'react', 'react-dom', 'wp-polyfill' ),
2
+	'dependencies' => array('react', 'react-dom', 'wp-polyfill'),
3 3
 	'version'      => '39077da78ccc5b5c85d9c72ac9e73c56',
4 4
 );
Please login to merge, or discard this patch.
src/js/dist/ingredients-meta-box.asset.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1 1
 <?php return array(
2
-	'dependencies' => array( 'wp-polyfill' ),
3
-	'version'      => '68f672c31855982e70ab50860d30b28b',
2
+    'dependencies' => array( 'wp-polyfill' ),
3
+    'version'      => '68f672c31855982e70ab50860d30b28b',
4 4
 );
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1 1
 <?php return array(
2
-	'dependencies' => array( 'wp-polyfill' ),
2
+	'dependencies' => array('wp-polyfill'),
3 3
 	'version'      => '68f672c31855982e70ab50860d30b28b',
4 4
 );
Please login to merge, or discard this patch.
src/js/dist/no-editor-analysis.asset.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1 1
 <?php return array(
2
-	'dependencies' => array( 'react', 'react-dom', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-hooks', 'wp-polyfill', 'wp-rich-text' ),
3
-	'version'      => '1c6d0044c23feefb47cb56c6dc0d2484',
2
+    'dependencies' => array( 'react', 'react-dom', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-hooks', 'wp-polyfill', 'wp-rich-text' ),
3
+    'version'      => '1c6d0044c23feefb47cb56c6dc0d2484',
4 4
 );
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1 1
 <?php return array(
2
-	'dependencies' => array( 'react', 'react-dom', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-hooks', 'wp-polyfill', 'wp-rich-text' ),
2
+	'dependencies' => array('react', 'react-dom', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-hooks', 'wp-polyfill', 'wp-rich-text'),
3 3
 	'version'      => '1c6d0044c23feefb47cb56c6dc0d2484',
4 4
 );
Please login to merge, or discard this patch.
src/js/dist/mappings.asset.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1 1
 <?php return array(
2
-	'dependencies' => array( 'react', 'react-dom', 'wp-polyfill' ),
3
-	'version'      => '1ed991960422d0d7fc696311354ed34e',
2
+    'dependencies' => array( 'react', 'react-dom', 'wp-polyfill' ),
3
+    'version'      => '1ed991960422d0d7fc696311354ed34e',
4 4
 );
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1 1
 <?php return array(
2
-	'dependencies' => array( 'react', 'react-dom', 'wp-polyfill' ),
2
+	'dependencies' => array('react', 'react-dom', 'wp-polyfill'),
3 3
 	'version'      => '1ed991960422d0d7fc696311354ed34e',
4 4
 );
Please login to merge, or discard this patch.