Page Templater For Elementor - Version 1.2.6

Version Description

  • 2018-10-09
Download this release

Release Info

Developer themeisle
Plugin Icon wp plugin Page Templater For Elementor
Version 1.2.6
Comparing to
See all releases

Code changes from version 1.2.5 to 1.2.6

CHANGELOG.md CHANGED
@@ -1,4 +1,12 @@
1
 
 
 
 
 
 
 
 
 
2
  ### v1.2.5 - 2018-05-15
3
  **Changes:**
4
  * Version Bump.
1
 
2
+ ### v1.2.6 - 2018-10-09
3
+ **Changes:**
4
+ * support for Neve
5
+
6
+ ### v1.2.6 - 2018-10-09
7
+ **Changes:**
8
+ * support for Neve
9
+
10
  ### v1.2.5 - 2018-05-15
11
  **Changes:**
12
  * Version Bump.
elementemplator.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Page Templater For Elementor
4
  * Plugin URI: https://themeisle.com/
5
  * Description: A helper plugin for users of Elementor Pagebuilder. Adds 2 new templates for complete full width experience while using the page builder - support for a number of popular themes is built-in.
6
- * Version: 1.2.5
7
  * Author: ThemeIsle
8
  * Author URI: https://themeisle.com/
9
  * Requires at least: 4.4
@@ -22,7 +22,7 @@ if ( ! defined( 'WPINC' ) ) {
22
  ------------------------------------------ */
23
 
24
  /* Set plugin version constant. */
25
- define( 'ET_VERSION', '1.2.5' );
26
 
27
  /* Set constant path to the plugin directory. */
28
  define( 'ET_PATH', trailingslashit( plugin_dir_path( __FILE__ ) ) );
3
  * Plugin Name: Page Templater For Elementor
4
  * Plugin URI: https://themeisle.com/
5
  * Description: A helper plugin for users of Elementor Pagebuilder. Adds 2 new templates for complete full width experience while using the page builder - support for a number of popular themes is built-in.
6
+ * Version: 1.2.6
7
  * Author: ThemeIsle
8
  * Author URI: https://themeisle.com/
9
  * Requires at least: 4.4
22
  ------------------------------------------ */
23
 
24
  /* Set plugin version constant. */
25
+ define( 'ET_VERSION', '1.2.6' );
26
 
27
  /* Set constant path to the plugin directory. */
28
  define( 'ET_PATH', trailingslashit( plugin_dir_path( __FILE__ ) ) );
readme.md CHANGED
@@ -24,6 +24,7 @@ Adds 2 new templates for complete full width experience while using the page bui
24
  ## Supported Themes ##
25
  The following themes are currently supported out of the box - if your desired theme is not list you may need to add some custom css.
26
 
 
27
  * [Hestia](https://wordpress.org/themes/hestia/) - by ThemeIsle
28
  * [Hestia Pro](https://themeisle.com/themes/hestia-pro/) - by ThemeIsle
29
  * [Zerif Lite](https://themeisle.com/themes/zerif-lite) - by ThemeIsle
@@ -129,6 +130,11 @@ Further details will be available near the time of the release.
129
  2. Fullwidth no Header no Footer
130
 
131
  ## Changelog ##
 
 
 
 
 
132
  ### 1.2.5 - 2018-05-15 ###
133
 
134
  * Version Bump.
24
  ## Supported Themes ##
25
  The following themes are currently supported out of the box - if your desired theme is not list you may need to add some custom css.
26
 
27
+ * [Neve](https://themeisle.com/themes/neve/) - by ThemeIsle
28
  * [Hestia](https://wordpress.org/themes/hestia/) - by ThemeIsle
29
  * [Hestia Pro](https://themeisle.com/themes/hestia-pro/) - by ThemeIsle
30
  * [Zerif Lite](https://themeisle.com/themes/zerif-lite) - by ThemeIsle
130
  2. Fullwidth no Header no Footer
131
 
132
  ## Changelog ##
133
+ ### 1.2.6 - 2018-10-09 ###
134
+
135
+ * support for Neve
136
+
137
+
138
  ### 1.2.5 - 2018-05-15 ###
139
 
140
  * Version Bump.
readme.txt CHANGED
@@ -24,6 +24,7 @@ Adds 2 new templates for complete full width experience while using the page bui
24
  == Supported Themes ==
25
  The following themes are currently supported out of the box - if your desired theme is not list you may need to add some custom css.
26
 
 
27
  * [Hestia](https://wordpress.org/themes/hestia/) - by ThemeIsle
28
  * [Hestia Pro](https://themeisle.com/themes/hestia-pro/) - by ThemeIsle
29
  * [Zerif Lite](https://themeisle.com/themes/zerif-lite) - by ThemeIsle
@@ -129,6 +130,11 @@ Further details will be available near the time of the release.
129
  2. Fullwidth no Header no Footer
130
 
131
  == Changelog ==
 
 
 
 
 
132
  = 1.2.5 - 2018-05-15 =
133
 
134
  * Version Bump.
24
  == Supported Themes ==
25
  The following themes are currently supported out of the box - if your desired theme is not list you may need to add some custom css.
26
 
27
+ * [Neve](https://themeisle.com/themes/neve/) - by ThemeIsle
28
  * [Hestia](https://wordpress.org/themes/hestia/) - by ThemeIsle
29
  * [Hestia Pro](https://themeisle.com/themes/hestia-pro/) - by ThemeIsle
30
  * [Zerif Lite](https://themeisle.com/themes/zerif-lite) - by ThemeIsle
130
  2. Fullwidth no Header no Footer
131
 
132
  == Changelog ==
133
+ = 1.2.6 - 2018-10-09 =
134
+
135
+ * support for Neve
136
+
137
+
138
  = 1.2.5 - 2018-05-15 =
139
 
140
  * Version Bump.
themeisle-hash.json CHANGED
@@ -1 +1 @@
1
- {"custom-posttype-class.php":"171a2a809e20c6b0c0542c190cc87485","elementemplater-class.php":"1aefa363265a0dfa3cbc32e532a4463c","elementemplator.php":"15ee5dd545f391ee1971736859dae354"}
1
+ {"custom-posttype-class.php":"171a2a809e20c6b0c0542c190cc87485","elementemplater-class.php":"1aefa363265a0dfa3cbc32e532a4463c","elementemplator.php":"a767d73cb6d692cabf6bbdd3038e715c"}
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit78d606a4f8588bd889d2b0383fbb0625::getLoader();
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit46281624ddf3d14e02b3fb68c4c2e8fb::getLoader();
vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-licenser.php CHANGED
@@ -49,7 +49,8 @@ if ( ! class_exists( 'ThemeIsle_SDK_Licenser' ) ) :
49
  * @param ThemeIsle_SDK_Product $product The product object.
50
  */
51
  public function __construct( $product ) {
52
- $this->product = $product;
 
53
  $this->product_key = $this->product->get_key() . '-update-response';
54
  if ( ! $this->product->requires_license() ) {
55
  $this->license_key = 'free';
@@ -517,6 +518,39 @@ if ( ! class_exists( 'ThemeIsle_SDK_Licenser' ) ) :
517
  delete_transient( $this->product_key );
518
  }
519
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
520
  /**
521
  * Check for updates
522
  *
@@ -525,49 +559,29 @@ if ( ! class_exists( 'ThemeIsle_SDK_Licenser' ) ) :
525
  function check_for_update() {
526
  $theme = wp_get_theme( $this->product->get_slug() );
527
  $update_data = get_transient( $this->product_key );
 
528
  if ( false === $update_data ) {
529
  $failed = false;
530
- if ( empty( $this->license_key ) ) {
531
- return false;
532
- }
533
- $api_params = array(
534
- 'edd_action' => 'get_version',
535
- 'version' => $this->product->get_version(),
536
- 'license' => $this->license_key,
537
- 'name' => $this->product->get_name(),
538
- 'slug' => $this->product->get_slug(),
539
- 'author' => $this->product->get_store_name(),
540
- 'url' => rawurlencode( home_url() ),
541
- );
542
- $response = wp_remote_post(
543
- $this->product->get_store_url(), array(
544
- 'timeout' => 15,
545
- 'sslverify' => false,
546
- 'body' => $api_params,
547
- )
548
- );
549
- // make sure the response was successful
550
- if ( is_wp_error( $response ) || 200 != wp_remote_retrieve_response_code( $response ) ) {
551
- $failed = true;
552
- }
553
- $update_data = json_decode( wp_remote_retrieve_body( $response ) );
554
- if ( ! is_object( $update_data ) ) {
555
  $failed = true;
556
  }
557
- // if the response failed, try again in 30 minutes
558
  if ( $failed ) {
559
  $data = new stdClass;
560
  $data->new_version = $this->product->get_version();
561
  set_transient( $this->product_key, $data, strtotime( '+30 minutes' ) );
562
 
563
  return false;
564
- }
565
- // if the status is 'ok', return the update arguments
566
- if ( ! $failed ) {
567
  $update_data->sections = maybe_unserialize( $update_data->sections );
568
  set_transient( $this->product_key, $update_data, strtotime( '+12 hours' ) );
569
  }
570
  }
 
 
 
571
  if ( version_compare( $this->product->get_version(), $update_data->new_version, '>=' ) ) {
572
  return false;
573
  }
@@ -618,34 +632,14 @@ if ( ! class_exists( 'ThemeIsle_SDK_Licenser' ) ) :
618
  * @return false||object
619
  */
620
  private function api_request( $_action = '', $_data = '' ) {
621
- if ( empty( $this->license_key ) ) {
622
- return;
623
- }
624
- $api_params = array(
625
- 'edd_action' => 'get_version',
626
- 'license' => $this->license_key,
627
- 'name' => rawurlencode( $this->product->get_name() ),
628
- 'slug' => rawurlencode( $this->product->get_slug() ),
629
- 'author' => $this->product->get_store_name(),
630
- 'url' => rawurlencode( home_url() ),
631
- );
632
- $request = wp_remote_post(
633
- $this->product->get_store_url(), array(
634
- 'timeout' => 15,
635
- 'sslverify' => false,
636
- 'body' => $api_params,
637
- )
638
- );
639
- if ( ! is_wp_error( $request ) ) :
640
- $request = json_decode( wp_remote_retrieve_body( $request ) );
641
- if ( $request && isset( $request->sections ) ) {
642
- $request->sections = maybe_unserialize( $request->sections );
643
- }
644
-
645
- return $request;
646
- else :
647
  return false;
648
- endif;
 
 
 
 
649
  }
650
 
651
  /**
49
  * @param ThemeIsle_SDK_Product $product The product object.
50
  */
51
  public function __construct( $product ) {
52
+ $this->product = $product;
53
+
54
  $this->product_key = $this->product->get_key() . '-update-response';
55
  if ( ! $this->product->requires_license() ) {
56
  $this->license_key = 'free';
518
  delete_transient( $this->product_key );
519
  }
520
 
521
+ /**
522
+ * Check remote api for latest version.
523
+ *
524
+ * @return bool|mixed Update api response.
525
+ */
526
+ private function get_version_data() {
527
+ $api_params = array(
528
+ 'edd_action' => 'get_version',
529
+ 'version' => $this->product->get_version(),
530
+ 'license' => $this->license_key,
531
+ 'name' => $this->product->get_name(),
532
+ 'slug' => $this->product->get_slug(),
533
+ 'author' => $this->product->get_store_name(),
534
+ 'url' => rawurlencode( home_url() ),
535
+ );
536
+ $response = wp_remote_post(
537
+ $this->product->get_store_url(), array(
538
+ 'timeout' => 15,
539
+ 'sslverify' => false,
540
+ 'body' => $api_params,
541
+ )
542
+ );
543
+ if ( is_wp_error( $response ) || 200 != wp_remote_retrieve_response_code( $response ) ) {
544
+ return false;
545
+ }
546
+ $update_data = json_decode( wp_remote_retrieve_body( $response ) );
547
+ if ( ! is_object( $update_data ) ) {
548
+ return false;
549
+ }
550
+
551
+ return $update_data;
552
+ }
553
+
554
  /**
555
  * Check for updates
556
  *
559
  function check_for_update() {
560
  $theme = wp_get_theme( $this->product->get_slug() );
561
  $update_data = get_transient( $this->product_key );
562
+
563
  if ( false === $update_data ) {
564
  $failed = false;
565
+
566
+ $update_data = $this->get_version_data();
567
+ if ( empty( $update_data ) ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
568
  $failed = true;
569
  }
570
+ // If the response failed, try again in 30 minutes.
571
  if ( $failed ) {
572
  $data = new stdClass;
573
  $data->new_version = $this->product->get_version();
574
  set_transient( $this->product_key, $data, strtotime( '+30 minutes' ) );
575
 
576
  return false;
577
+ } else {
 
 
578
  $update_data->sections = maybe_unserialize( $update_data->sections );
579
  set_transient( $this->product_key, $update_data, strtotime( '+12 hours' ) );
580
  }
581
  }
582
+ if ( ! isset( $update_data->new_version ) ) {
583
+ return false;
584
+ }
585
  if ( version_compare( $this->product->get_version(), $update_data->new_version, '>=' ) ) {
586
  return false;
587
  }
632
  * @return false||object
633
  */
634
  private function api_request( $_action = '', $_data = '' ) {
635
+ $update_data = $this->get_version_data();
636
+ if ( empty( $update_data ) ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
637
  return false;
638
+ }
639
+ if ( $update_data && isset( $update_data->sections ) ) {
640
+ $update_data->sections = maybe_unserialize( $update_data->sections );
641
+ }
642
+ return $update_data;
643
  }
644
 
645
  /**
vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-widget-dashboard-blog.php CHANGED
@@ -108,6 +108,9 @@ if ( ! class_exists( 'ThemeIsle_SDK_Widget_Dashboard_Blog' ) ) :
108
  */
109
  function render_dashboard_widget() {
110
  $this->setup_feeds();
 
 
 
111
  ?>
112
  <style type="text/css">
113
  #themeisle ul li.ti-dw-recommend-item {
@@ -116,20 +119,24 @@ if ( ! class_exists( 'ThemeIsle_SDK_Widget_Dashboard_Blog' ) )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y40NSwzLjQ1LDAsMCwwLC44My0yLjMzVjY3LjYzQTMuMTcsMy4xNywwLDAsMCw0My42LDY1LjM3Wm03LjQ2LDBhMywzLDAsMCwwLTIuMTgtLjksMi43MywyLjczLDAsMCwwLTIuMTEuOSwzLjE3LDMuMTcsMCwwLDAtLjgzLDIuMjZ2NC44MmEzLjQ1LDMuNDUsMCwwLDAsLjgzLDIuMzMsMi42MSwyLjYxLDAsMCwwLDIuMTEsMSwyLjgzLDIuODMsMCwwLDAsMi4xOC0xLDMuMzIsMy4zMiwwLDAsMCwuOS0yLjMzVjY3LjYzQTMuMDYsMy4wNiwwLDAsMCw1MS4wNiw2NS4zN1oiLz48L3N2Zz4=');
121
  background-repeat: no-repeat;
122
  background-position: 92% 50%;
123
  background-size: 30px;
124
  }
 
125
  #themeisle .inside {
126
  padding: 0;
127
  }
 
128
  .ti-feed-list {
129
  padding: 0 12px 5px;
130
  margin-bottom: 10px;
131
  border-bottom: 1px solid #eee;
132
  }
 
133
  .ti-dw-feed-item a {
134
  display: flex;
135
  align-items: center;
@@ -138,12 +145,15 @@ if ( ! class_exists( 'ThemeIsle_SDK_Widget_Dashboard_Blog' ) ) :
138
  transition: .2s ease;
139
  border-radius: 3px;
140
  }
 
141
  .ti-dw-feed-item a:hover {
142
  background-color: #f8f8f8;
143
  }
 
144
  .ti-dw-feed-item a:hover .ti-dw-date-container {
145
  opacity: .9;
146
  }
 
147
  .ti-dw-feed-item .ti-dw-month-container {
148
  margin-top: -5px;
149
  text-transform: uppercase;
@@ -151,6 +161,7 @@ if ( ! class_exists( 'ThemeIsle_SDK_Widget_Dashboard_Blog' ) ) :
151
  letter-spacing: 1px;
152
  font-weight: 700;
153
  }
 
154
  .ti-dw-feed-item .ti-dw-date-container {
155
  border-radius: 3px;
156
  transition: .2s ease;
@@ -165,27 +176,31 @@ if ( ! class_exists( 'ThemeIsle_SDK_Widget_Dashboard_Blog' ) ) :
165
  flex-direction: column;
166
  justify-content: center;
167
  }
 
168
  .ti-dw-footer {
169
  padding: 0 12px 5px;
170
  text-align: center;
171
  }
 
172
  .ti-dw-recommend-item {
173
  display: block;
174
  }
 
175
  .ti-dw-recommend-item span {
176
  color: #72777c;
177
  }
 
178
  .ti-dw-powered-by {
179
  font-size: 11px;
180
  margin-top: 3px;
181
  display: block;
182
  color: #72777c;
183
  }
 
184
  .ti-dw-powered-by span {
185
  font-weight: 600;
186
  }
187
 
188
-
189
  </style>
190
  <ul class="ti-feed-list">
191
  <?php
108
  */
109
  function render_dashboard_widget() {
110
  $this->setup_feeds();
111
+ if ( empty( $this->items ) || ! is_array( $this->items ) ) {
112
+ return;
113
+ }
114
  ?>
115
  <style type="text/css">
116
  #themeisle ul li.ti-dw-recommend-item {
119
  margin-bottom: 0px;
120
  padding-top: 6px;
121
  }
122
+
123
  #themeisle h2.hndle {
124
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA3Ny4xMiA3Ny4xMiI+PHRpdGxlPkFzc2V0IDM8L3RpdGxlPjxwYXRoIGQ9Ik03NS43Niw0Ny42cS0xLjUsNi40Ni00LjA3LDkuMjZBMzYuMjIsMzYuMjIsMCwwLDEsNjMuMjYsNjNhNTEsNTEsMCwwLDEtOS43OSw0LjZoLS4xNXY0LjgyQTQuNjYsNC42NiwwLDAsMSw1Miw3NS43Niw0LjA3LDQuMDcsMCwwLDEsNDksNzcuMTJhNCw0LDAsMCwxLTIuMTgtLjYxQTQuOTQsNC45NCwwLDAsMSw0NS4xOSw3NWE0LjQyLDQuNDIsMCwwLDEtNy41NCwwLDQuOTQsNC45NCwwLDAsMS0xLjU4LDEuNSwzLjc1LDMuNzUsMCwwLDEtMiwuNjFBNC4yNyw0LjI3LDAsMCwxLDMwLjI3LDc1YTQuOTQsNC45NCwwLDAsMS0xLjU4LDEuNSw0LDQsMCwwLDEtMi4xOC42MSwzLjkzLDMuOTMsMCwwLDEtMy4xNi0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MiwwLDAsMSw0LjgyLS40NmMxLjgxLDAsMy4wNi40NiwzLjc3LDEuMzZxMS4zNSwxLjUuNzUsNS4xMmEyMS43MiwyMS43MiwwLDAsMCw1LTcuMTVBMjEuMzgsMjEuMzgsMCwwLDAsNjUuMDcsMjgsMTcuNDQsMTcuNDQsMCwwLDAsNjEuNDUsMTdaTTQzLjYsNjUuMzdhMi43MiwyLjcyLDAsMCwwLTIuMS0uOSwzLDMsMCwwLDAtMi4xOS45LDMuMDYsMy4wNiwwLDAsMC0uOSwyLjI2djQuODJhMy4zMiwzLjMyLDAsMCwwLC45LDIuMzMsMi44NCwyLjg0LDAsMCwwLDIuMTksMSwyLjYxLDIuNjEsMCwwLDAsMi4xLTEsMy40NSwzLjQ1LDAsMCwwLC44My0yLjMzVjY3LjYzQTMuMTcsMy4xNywwLDAsMCw0My42LDY1LjM3Wm03LjQ2LDBhMywzLDAsMCwwLTIuMTgtLjksMi43MywyLjczLDAsMCwwLTIuMTEuOSwzLjE3LDMuMTcsMCwwLDAtLjgzLDIuMjZ2NC44MmEzLjQ1LDMuNDUsMCwwLDAsLjgzLDIuMzMsMi42MSwyLjYxLDAsMCwwLDIuMTEsMSwyLjgzLDIuODMsMCwwLDAsMi4xOC0xLDMuMzIsMy4zMiwwLDAsMCwuOS0yLjMzVjY3LjYzQTMuMDYsMy4wNiwwLDAsMCw1MS4wNiw2NS4zN1oiLz48L3N2Zz4=');
125
  background-repeat: no-repeat;
126
  background-position: 92% 50%;
127
  background-size: 30px;
128
  }
129
+
130
  #themeisle .inside {
131
  padding: 0;
132
  }
133
+
134
  .ti-feed-list {
135
  padding: 0 12px 5px;
136
  margin-bottom: 10px;
137
  border-bottom: 1px solid #eee;
138
  }
139
+
140
  .ti-dw-feed-item a {
141
  display: flex;
142
  align-items: center;
145
  transition: .2s ease;
146
  border-radius: 3px;
147
  }
148
+
149
  .ti-dw-feed-item a:hover {
150
  background-color: #f8f8f8;
151
  }
152
+
153
  .ti-dw-feed-item a:hover .ti-dw-date-container {
154
  opacity: .9;
155
  }
156
+
157
  .ti-dw-feed-item .ti-dw-month-container {
158
  margin-top: -5px;
159
  text-transform: uppercase;
161
  letter-spacing: 1px;
162
  font-weight: 700;
163
  }
164
+
165
  .ti-dw-feed-item .ti-dw-date-container {
166
  border-radius: 3px;
167
  transition: .2s ease;
176
  flex-direction: column;
177
  justify-content: center;
178
  }
179
+
180
  .ti-dw-footer {
181
  padding: 0 12px 5px;
182
  text-align: center;
183
  }
184
+
185
  .ti-dw-recommend-item {
186
  display: block;
187
  }
188
+
189
  .ti-dw-recommend-item span {
190
  color: #72777c;
191
  }
192
+
193
  .ti-dw-powered-by {
194
  font-size: 11px;
195
  margin-top: 3px;
196
  display: block;
197
  color: #72777c;
198
  }
199
+
200
  .ti-dw-powered-by span {
201
  font-weight: 600;
202
  }
203
 
 
204
  </style>
205
  <ul class="ti-feed-list">
206
  <?php
vendor/codeinwp/themeisle-sdk/load.php CHANGED
@@ -11,7 +11,7 @@
11
  */
12
 
13
  // Current SDK version and path.
14
- $themeisle_sdk_version = '2.2.3';
15
  $themeisle_sdk_path = dirname( __FILE__ );
16
 
17
  global $themeisle_sdk_max_version;
11
  */
12
 
13
  // Current SDK version and path.
14
+ $themeisle_sdk_version = '2.2.7';
15
  $themeisle_sdk_path = dirname( __FILE__ );
16
 
17
  global $themeisle_sdk_max_version;
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit78d606a4f8588bd889d2b0383fbb0625
6
  {
7
  private static $loader;
8
 
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit78d606a4f8588bd889d2b0383fbb0625
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit78d606a4f8588bd889d2b0383fbb0625', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit78d606a4f8588bd889d2b0383fbb0625', 'loadClassLoader'));
25
 
26
  $map = require __DIR__ . '/autoload_namespaces.php';
27
  foreach ($map as $namespace => $path) {
@@ -42,14 +42,14 @@ class ComposerAutoloaderInit78d606a4f8588bd889d2b0383fbb0625
42
 
43
  $includeFiles = require __DIR__ . '/autoload_files.php';
44
  foreach ($includeFiles as $fileIdentifier => $file) {
45
- composerRequire78d606a4f8588bd889d2b0383fbb0625($fileIdentifier, $file);
46
  }
47
 
48
  return $loader;
49
  }
50
  }
51
 
52
- function composerRequire78d606a4f8588bd889d2b0383fbb0625($fileIdentifier, $file)
53
  {
54
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
55
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit46281624ddf3d14e02b3fb68c4c2e8fb
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit46281624ddf3d14e02b3fb68c4c2e8fb', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit46281624ddf3d14e02b3fb68c4c2e8fb', 'loadClassLoader'));
25
 
26
  $map = require __DIR__ . '/autoload_namespaces.php';
27
  foreach ($map as $namespace => $path) {
42
 
43
  $includeFiles = require __DIR__ . '/autoload_files.php';
44
  foreach ($includeFiles as $fileIdentifier => $file) {
45
+ composerRequire46281624ddf3d14e02b3fb68c4c2e8fb($fileIdentifier, $file);
46
  }
47
 
48
  return $loader;
49
  }
50
  }
51
 
52
+ function composerRequire46281624ddf3d14e02b3fb68c4c2e8fb($fileIdentifier, $file)
53
  {
54
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
55
  require $file;
vendor/composer/installed.json CHANGED
@@ -6,15 +6,15 @@
6
  "source": {
7
  "type": "git",
8
  "url": "https://github.com/Codeinwp/themeisle-sdk.git",
9
- "reference": "ae7fce00ef4fdec1b3f5b918ee0b5e9fe18d588f"
10
  },
11
  "dist": {
12
  "type": "zip",
13
- "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/ae7fce00ef4fdec1b3f5b918ee0b5e9fe18d588f",
14
- "reference": "ae7fce00ef4fdec1b3f5b918ee0b5e9fe18d588f",
15
  "shasum": ""
16
  },
17
- "time": "2018-04-30 11:29:58",
18
  "type": "library",
19
  "installation-source": "dist",
20
  "autoload": {
6
  "source": {
7
  "type": "git",
8
  "url": "https://github.com/Codeinwp/themeisle-sdk.git",
9
+ "reference": "caa9bf2b2c48c12a0ac745b6e2880c94339a777d"
10
  },
11
  "dist": {
12
  "type": "zip",
13
+ "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/caa9bf2b2c48c12a0ac745b6e2880c94339a777d",
14
+ "reference": "caa9bf2b2c48c12a0ac745b6e2880c94339a777d",
15
  "shasum": ""
16
  },
17
+ "time": "2018-07-19 07:48:21",
18
  "type": "library",
19
  "installation-source": "dist",
20
  "autoload": {