Completed
Push — componentlibrary-sass ( da7814...fb71ef )
by
unknown
02:05
created
Components/HeroCta/functions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
 use Flynt\Utils\Component;
6 6
 use Flynt;
7 7
 
8
-add_filter('Flynt/addComponentData?name=HeroCta', function ($data) {
8
+add_filter('Flynt/addComponentData?name=HeroCta', function($data) {
9 9
     Component::enqueueAssets('HeroCta');
10 10
 
11 11
     return $data;
Please login to merge, or discard this patch.
Components/GridPosts/functions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
 use Flynt\Utils\Component;
6 6
 use Flynt;
7 7
 
8
-add_filter('Flynt/addComponentData?name=GridPosts', function ($data) {
8
+add_filter('Flynt/addComponentData?name=GridPosts', function($data) {
9 9
     Component::enqueueAssets('GridPosts');
10 10
 
11 11
     return $data;
Please login to merge, or discard this patch.
Components/BlockWysiwyg/functions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
 use Flynt\Utils\Component;
6 6
 use Flynt;
7 7
 
8
-add_filter('Flynt/addComponentData?name=BlockWysiwyg', function ($data) {
8
+add_filter('Flynt/addComponentData?name=BlockWysiwyg', function($data) {
9 9
     Component::enqueueAssets('BlockWysiwyg');
10 10
 
11 11
     return $data;
Please login to merge, or discard this patch.
Components/AccordionDefault/functions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
 use Flynt\Utils\Component;
6 6
 use Flynt;
7 7
 
8
-add_filter('Flynt/addComponentData?name=AccordionDefault', function ($data) {
8
+add_filter('Flynt/addComponentData?name=AccordionDefault', function($data) {
9 9
     Component::enqueueAssets('AccordionDefault');
10 10
     return $data;
11 11
 });
Please login to merge, or discard this patch.
Components/ListSearchResults/functions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 use Flynt\Utils\Component;
7 7
 use Flynt\Utils\Options;
8 8
 
9
-add_filter('Flynt/addComponentData?name=ListSearchResults', function ($data) {
9
+add_filter('Flynt/addComponentData?name=ListSearchResults', function($data) {
10 10
     Component::enqueueAssets('ListSearchResults');
11 11
 
12 12
     global $wp_query;
Please login to merge, or discard this patch.
Components/BlockImageText/functions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
 use Flynt\Utils\Component;
6 6
 use Flynt;
7 7
 
8
-add_filter('Flynt/addComponentData?name=BlockImageText', function ($data) {
8
+add_filter('Flynt/addComponentData?name=BlockImageText', function($data) {
9 9
     Component::enqueueAssets('BlockImageText');
10 10
 
11 11
     return $data;
Please login to merge, or discard this patch.
Components/BlockVideoOembed/functions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 use Flynt\Utils\Oembed;
7 7
 use Flynt;
8 8
 
9
-add_filter('Flynt/addComponentData?name=BlockVideoOembed', function ($data) {
9
+add_filter('Flynt/addComponentData?name=BlockVideoOembed', function($data) {
10 10
     Component::enqueueAssets('BlockVideoOembed');
11 11
 
12 12
     $data['video'] = Oembed::setSrcAsDataAttribute(
Please login to merge, or discard this patch.
Components/ListSocial/functions.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,11 +6,11 @@
 block discarded – undo
6 6
 use Flynt\Utils\Component;
7 7
 use Flynt;
8 8
 
9
-add_filter('Flynt/addComponentData?name=ListSocial', function ($data) {
9
+add_filter('Flynt/addComponentData?name=ListSocial', function($data) {
10 10
     Component::enqueueAssets('ListSocial');
11 11
 
12 12
     if (!empty($data['social'])) {
13
-        $data['social'] = array_map(function ($item) {
13
+        $data['social'] = array_map(function($item) {
14 14
             $item['icon'] = Asset::getContents("Components/ListSocial/Assets/{$item['platform']}.svg");
15 15
             return $item;
16 16
         }, $data['social']);
Please login to merge, or discard this patch.
Components/HeroImageText/functions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
 use Flynt\Utils\Component;
6 6
 use Flynt;
7 7
 
8
-add_filter('Flynt/addComponentData?name=HeroImageText', function ($data) {
8
+add_filter('Flynt/addComponentData?name=HeroImageText', function($data) {
9 9
     Component::enqueueAssets('HeroImageText');
10 10
 
11 11
     return $data;
Please login to merge, or discard this patch.