Completed
Pull Request — develop (#1588)
by
unknown
17:09
created
future/includes/gutenberg/build/view-details.asset.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,1 +1,1 @@
 block discarded – undo
1
-<?php return array('dependencies' => array('react', 'react-dom', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-server-side-render'), 'version' => '80da9ca24011fcf66166');
1
+<?php return array( 'dependencies' => array( 'react', 'react-dom', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-server-side-render' ), 'version' => '80da9ca24011fcf66166' );
Please login to merge, or discard this patch.
future/includes/gutenberg/build/entry.asset.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,1 +1,1 @@
 block discarded – undo
1
-<?php return array('dependencies' => array('react', 'react-dom', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-server-side-render'), 'version' => 'd419e87c5e45a48ba7d1');
1
+<?php return array( 'dependencies' => array( 'react', 'react-dom', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-server-side-render' ), 'version' => 'd419e87c5e45a48ba7d1' );
Please login to merge, or discard this patch.
future/includes/gutenberg/build/entry-link.asset.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,1 +1,1 @@
 block discarded – undo
1
-<?php return array('dependencies' => array('react', 'react-dom', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-server-side-render'), 'version' => 'f20177ed0473b32571c0');
1
+<?php return array( 'dependencies' => array( 'react', 'react-dom', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-server-side-render' ), 'version' => 'f20177ed0473b32571c0' );
Please login to merge, or discard this patch.
future/includes/gutenberg/build/view.asset.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,1 +1,1 @@
 block discarded – undo
1
-<?php return array('dependencies' => array('moment', 'react', 'react-dom', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-server-side-render'), 'version' => 'b37f944bb6481072e997');
1
+<?php return array( 'dependencies' => array( 'moment', 'react', 'react-dom', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-server-side-render' ), 'version' => 'b37f944bb6481072e997' );
Please login to merge, or discard this patch.
future/includes/gutenberg/build/entry-field.asset.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,1 +1,1 @@
 block discarded – undo
1
-<?php return array('dependencies' => array('react', 'react-dom', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-server-side-render'), 'version' => 'dd09a868735f613d7e86');
1
+<?php return array( 'dependencies' => array( 'react', 'react-dom', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-server-side-render' ), 'version' => 'dd09a868735f613d7e86' );
Please login to merge, or discard this patch.
future/includes/gutenberg/blocks/view/block.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 	 *
34 34
 	 * @return string $output
35 35
 	 */
36
-	static function render( $block_attributes = [] ) {
36
+	static function render( $block_attributes = [ ] ) {
37 37
 		$block_to_shortcode_attributes_map = [
38 38
 			'viewId'         => 'id',
39 39
 			'postId'         => 'post_id',
@@ -51,13 +51,13 @@  discard block
 block discarded – undo
51 51
 			'backLinkLabel'  => 'back_link_label',
52 52
 		];
53 53
 
54
-		$shortcode_attributes = [];
54
+		$shortcode_attributes = [ ];
55 55
 
56 56
 		foreach ( $block_attributes as $attribute => $value ) {
57 57
 			$value = esc_attr( sanitize_text_field( $value ) );
58 58
 
59 59
 			if ( isset( $block_to_shortcode_attributes_map[ $attribute ] ) && ! empty( $value ) ) {
60
-				$shortcode_attributes[] = "{$block_to_shortcode_attributes_map[$attribute]}={$value}";
60
+				$shortcode_attributes[ ] = "{$block_to_shortcode_attributes_map[ $attribute ]}={$value}";
61 61
 			}
62 62
 		}
63 63
 
Please login to merge, or discard this patch.
future/includes/gutenberg/blocks/entry-field/block.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 	 *
34 34
 	 * @return string $output
35 35
 	 */
36
-	static function render( $block_attributes = [] ) {
36
+	static function render( $block_attributes = [ ] ) {
37 37
 		$block_to_shortcode_attributes_map = [
38 38
 			'viewId'                => 'view_id',
39 39
 			'entryId'               => 'entry_id',
@@ -41,16 +41,16 @@  discard block
 block discarded – undo
41 41
 			'fieldSettingOverrides' => 'field_setting_overrides',
42 42
 		];
43 43
 
44
-		$shortcode_attributes = [];
44
+		$shortcode_attributes = [ ];
45 45
 
46 46
 		foreach ( $block_attributes as $attribute => $value ) {
47 47
 			$value = esc_attr( sanitize_text_field( $value ) );
48 48
 
49 49
 			if ( isset( $block_to_shortcode_attributes_map[ $attribute ] ) && ! empty( $value ) ) {
50 50
 				if ( 'field_setting_overrides' === $attribute ) {
51
-					$shortcode_attributes[] = "{$value}";
51
+					$shortcode_attributes[ ] = "{$value}";
52 52
 				} else {
53
-					$shortcode_attributes[] = sprintf( '%s="%s"', $block_to_shortcode_attributes_map[ $attribute ], $value );
53
+					$shortcode_attributes[ ] = sprintf( '%s="%s"', $block_to_shortcode_attributes_map[ $attribute ], $value );
54 54
 				}
55 55
 			}
56 56
 		}
Please login to merge, or discard this patch.
future/includes/gutenberg/blocks/view-details/block.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -33,20 +33,20 @@
 block discarded – undo
33 33
 	 *
34 34
 	 * @return string $output
35 35
 	 */
36
-	static function render( $block_attributes = [] ) {
36
+	static function render( $block_attributes = [ ] ) {
37 37
 		$block_to_shortcode_attributes_map = [
38 38
 			'viewId' => 'id',
39 39
 			'detail' => 'detail',
40 40
 
41 41
 		];
42 42
 
43
-		$shortcode_attributes = [];
43
+		$shortcode_attributes = [ ];
44 44
 
45 45
 		foreach ( $block_attributes as $attribute => $value ) {
46 46
 			$value = esc_attr( sanitize_text_field( $value ) );
47 47
 
48 48
 			if ( isset( $block_to_shortcode_attributes_map[ $attribute ] ) && ! empty( $value ) ) {
49
-				$shortcode_attributes[] = sprintf( '%s="%s"', $block_to_shortcode_attributes_map[ $attribute ], $value );
49
+				$shortcode_attributes[ ] = sprintf( '%s="%s"', $block_to_shortcode_attributes_map[ $attribute ], $value );
50 50
 			}
51 51
 		}
52 52
 
Please login to merge, or discard this patch.
future/includes/gutenberg/blocks/entry/block.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -33,19 +33,19 @@
 block discarded – undo
33 33
 	 *
34 34
 	 * @return string $output
35 35
 	 */
36
-	static function render( $block_attributes = [] ) {
36
+	static function render( $block_attributes = [ ] ) {
37 37
 		$block_to_shortcode_attributes_map = [
38 38
 			'entryId' => 'id',
39 39
 			'viewId'  => 'view_id',
40 40
 		];
41 41
 
42
-		$shortcode_attributes = [];
42
+		$shortcode_attributes = [ ];
43 43
 
44 44
 		foreach ( $block_attributes as $attribute => $value ) {
45 45
 			$value = esc_attr( sanitize_text_field( $value ) );
46 46
 
47 47
 			if ( isset( $block_to_shortcode_attributes_map[ $attribute ] ) && ! empty( $value ) ) {
48
-				$shortcode_attributes[] = sprintf( '%s="%s"', $block_to_shortcode_attributes_map[ $attribute ], $value );
48
+				$shortcode_attributes[ ] = sprintf( '%s="%s"', $block_to_shortcode_attributes_map[ $attribute ], $value );
49 49
 			}
50 50
 		}
51 51
 
Please login to merge, or discard this patch.