Version Description
- 2018-12-12
Download this release
Release Info
Developer | codeinwp |
Plugin | Orbit Fox by ThemeIsle |
Version | 2.7.3 |
Comparing to | |
See all releases |
Code changes from version 2.7.2 to 2.7.3
- CHANGELOG.md +8 -0
- core/assets/css/orbit-fox-admin.css +1 -1
- core/includes/class-orbit-fox.php +1 -1
- obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-features-section.php +5 -9
- obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-team-section.php +17 -21
- readme.md +5 -0
- readme.txt +5 -0
- themeisle-companion.php +1 -1
- themeisle-hash.json +1 -1
- vendor/autoload.php +1 -1
- vendor/codeinwp/templates-directory/class-page-templates-directory.php +18 -12
- vendor/codeinwp/templates-directory/composer.json +1 -1
- vendor/composer/autoload_real.php +5 -5
- vendor/composer/installed.json +4 -4
CHANGELOG.md
CHANGED
@@ -1,4 +1,12 @@
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
### v2.7.2 - 2018-12-10
|
3 |
**Changes:**
|
4 |
* Tested with WP 5.0
|
1 |
|
2 |
+
### v2.7.3 - 2018-12-12
|
3 |
+
**Changes:**
|
4 |
+
* fix templates directory importing
|
5 |
+
|
6 |
+
### v2.7.3 - 2018-12-12
|
7 |
+
**Changes:**
|
8 |
+
* Revert Font Awesome 5 integration
|
9 |
+
|
10 |
### v2.7.2 - 2018-12-10
|
11 |
**Changes:**
|
12 |
* Tested with WP 5.0
|
core/assets/css/orbit-fox-admin.css
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Extends Spectre.css Library
|
9 |
*/
|
10 |
/*
|
11 |
-
Version: 2.7.
|
12 |
*/
|
13 |
|
14 |
/* Document
|
8 |
* Extends Spectre.css Library
|
9 |
*/
|
10 |
/*
|
11 |
+
Version: 2.7.3
|
12 |
*/
|
13 |
|
14 |
/* Document
|
core/includes/class-orbit-fox.php
CHANGED
@@ -69,7 +69,7 @@ class Orbit_Fox {
|
|
69 |
|
70 |
$this->plugin_name = 'orbit-fox';
|
71 |
|
72 |
-
$this->version = '2.7.
|
73 |
|
74 |
$this->load_dependencies();
|
75 |
$this->set_locale();
|
69 |
|
70 |
$this->plugin_name = 'orbit-fox';
|
71 |
|
72 |
+
$this->version = '2.7.3';
|
73 |
|
74 |
$this->load_dependencies();
|
75 |
$this->set_locale();
|
obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-features-section.php
CHANGED
@@ -139,14 +139,10 @@ function hestia_features_content( $hestia_features_content, $is_callback = false
|
|
139 |
break;
|
140 |
case 'customizer_repeater_icon':
|
141 |
if ( ! empty( $icon ) ) {
|
142 |
-
$class_before = 'fa';
|
143 |
-
if( substr( $icon, 0, 3 ) !== "fa-" ){
|
144 |
-
$class_before = '';
|
145 |
-
}
|
146 |
?>
|
147 |
<div class="icon" <?php echo ( ! empty( $color ) ? 'style="color:' . $color . '"' : '' ); ?>>
|
148 |
-
|
149 |
-
|
150 |
<?php
|
151 |
}
|
152 |
break;
|
@@ -186,21 +182,21 @@ function hestia_get_features_default() {
|
|
186 |
'hestia_features_default_content', json_encode(
|
187 |
array(
|
188 |
array(
|
189 |
-
'icon_value' => '
|
190 |
'title' => esc_html__( 'Responsive', 'themeisle-companion' ),
|
191 |
'text' => esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', 'themeisle-companion' ),
|
192 |
'link' => '#',
|
193 |
'color' => '#e91e63',
|
194 |
),
|
195 |
array(
|
196 |
-
'icon_value' => '
|
197 |
'title' => esc_html__( 'Quality', 'themeisle-companion' ),
|
198 |
'text' => esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', 'themeisle-companion' ),
|
199 |
'link' => '#',
|
200 |
'color' => '#00bcd4',
|
201 |
),
|
202 |
array(
|
203 |
-
'icon_value' => '
|
204 |
'title' => esc_html__( 'Support', 'themeisle-companion' ),
|
205 |
'text' => esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', 'themeisle-companion' ),
|
206 |
'link' => '#',
|
139 |
break;
|
140 |
case 'customizer_repeater_icon':
|
141 |
if ( ! empty( $icon ) ) {
|
|
|
|
|
|
|
|
|
142 |
?>
|
143 |
<div class="icon" <?php echo ( ! empty( $color ) ? 'style="color:' . $color . '"' : '' ); ?>>
|
144 |
+
<i class="fa <?php echo esc_attr( $icon ); ?>"></i>
|
145 |
+
</div>
|
146 |
<?php
|
147 |
}
|
148 |
break;
|
182 |
'hestia_features_default_content', json_encode(
|
183 |
array(
|
184 |
array(
|
185 |
+
'icon_value' => 'fa-wechat',
|
186 |
'title' => esc_html__( 'Responsive', 'themeisle-companion' ),
|
187 |
'text' => esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', 'themeisle-companion' ),
|
188 |
'link' => '#',
|
189 |
'color' => '#e91e63',
|
190 |
),
|
191 |
array(
|
192 |
+
'icon_value' => 'fa-check',
|
193 |
'title' => esc_html__( 'Quality', 'themeisle-companion' ),
|
194 |
'text' => esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', 'themeisle-companion' ),
|
195 |
'link' => '#',
|
196 |
'color' => '#00bcd4',
|
197 |
),
|
198 |
array(
|
199 |
+
'icon_value' => 'fa-support',
|
200 |
'title' => esc_html__( 'Support', 'themeisle-companion' ),
|
201 |
'text' => esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', 'themeisle-companion' ),
|
202 |
'link' => '#',
|
obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-team-section.php
CHANGED
@@ -209,11 +209,7 @@ function hestia_team_content( $hestia_team_content, $is_callback = false ) {
|
|
209 |
if ( function_exists( 'hestia_is_external_url' ) ) {
|
210 |
$link .= hestia_is_external_url( $social_link );
|
211 |
}
|
212 |
-
$
|
213 |
-
if( substr( $social_icon, 0, 3 ) !== "fa-" ){
|
214 |
-
$class_before = '';
|
215 |
-
}
|
216 |
-
$link .= ' class="btn btn-just-icon btn-simple"><i class="' . esc_attr( $class_before . ' ' . $social_icon ) . '"></i></a>';
|
217 |
echo $link;
|
218 |
}
|
219 |
}
|
@@ -262,22 +258,22 @@ function hestia_get_team_default() {
|
|
262 |
array(
|
263 |
'id' => 'customizer-repeater-social-repeater-57fb908674e06',
|
264 |
'link' => 'facebook.com',
|
265 |
-
'icon' => '
|
266 |
),
|
267 |
array(
|
268 |
'id' => 'customizer-repeater-social-repeater-57fb9148530ft',
|
269 |
'link' => 'plus.google.com',
|
270 |
-
'icon' => '
|
271 |
),
|
272 |
array(
|
273 |
'id' => 'customizer-repeater-social-repeater-57fb9148530fc',
|
274 |
'link' => 'twitter.com',
|
275 |
-
'icon' => '
|
276 |
),
|
277 |
array(
|
278 |
'id' => 'customizer-repeater-social-repeater-57fb9150e1e89',
|
279 |
'link' => 'linkedin.com',
|
280 |
-
'icon' => '
|
281 |
),
|
282 |
)
|
283 |
),
|
@@ -293,22 +289,22 @@ function hestia_get_team_default() {
|
|
293 |
array(
|
294 |
'id' => 'customizer-repeater-social-repeater-57fb9155a1072',
|
295 |
'link' => 'facebook.com',
|
296 |
-
'icon' => '
|
297 |
),
|
298 |
array(
|
299 |
'id' => 'customizer-repeater-social-repeater-57fb9160ab683',
|
300 |
'link' => 'twitter.com',
|
301 |
-
'icon' => '
|
302 |
),
|
303 |
array(
|
304 |
'id' => 'customizer-repeater-social-repeater-57fb9160ab484',
|
305 |
'link' => 'pinterest.com',
|
306 |
-
'icon' => '
|
307 |
),
|
308 |
array(
|
309 |
'id' => 'customizer-repeater-social-repeater-57fb916ddffc9',
|
310 |
'link' => 'linkedin.com',
|
311 |
-
'icon' => '
|
312 |
),
|
313 |
)
|
314 |
),
|
@@ -324,22 +320,22 @@ function hestia_get_team_default() {
|
|
324 |
array(
|
325 |
'id' => 'customizer-repeater-social-repeater-57fb917e4c69e',
|
326 |
'link' => 'facebook.com',
|
327 |
-
'icon' => '
|
328 |
),
|
329 |
array(
|
330 |
'id' => 'customizer-repeater-social-repeater-57fb91830825c',
|
331 |
'link' => 'twitter.com',
|
332 |
-
'icon' => '
|
333 |
),
|
334 |
array(
|
335 |
'id' => 'customizer-repeater-social-repeater-57fb918d65f2e',
|
336 |
'link' => 'linkedin.com',
|
337 |
-
'icon' => '
|
338 |
),
|
339 |
array(
|
340 |
'id' => 'customizer-repeater-social-repeater-57fb918d65f2x',
|
341 |
'link' => 'dribbble.com',
|
342 |
-
'icon' => '
|
343 |
),
|
344 |
)
|
345 |
),
|
@@ -355,22 +351,22 @@ function hestia_get_team_default() {
|
|
355 |
array(
|
356 |
'id' => 'customizer-repeater-social-repeater-57fb925cedcg5',
|
357 |
'link' => 'github.com',
|
358 |
-
'icon' => '
|
359 |
),
|
360 |
array(
|
361 |
'id' => 'customizer-repeater-social-repeater-57fb925cedcb2',
|
362 |
'link' => 'facebook.com',
|
363 |
-
'icon' => '
|
364 |
),
|
365 |
array(
|
366 |
'id' => 'customizer-repeater-social-repeater-57fb92615f030',
|
367 |
'link' => 'twitter.com',
|
368 |
-
'icon' => '
|
369 |
),
|
370 |
array(
|
371 |
'id' => 'customizer-repeater-social-repeater-57fb9266c223a',
|
372 |
'link' => 'linkedin.com',
|
373 |
-
'icon' => '
|
374 |
),
|
375 |
)
|
376 |
),
|
209 |
if ( function_exists( 'hestia_is_external_url' ) ) {
|
210 |
$link .= hestia_is_external_url( $social_link );
|
211 |
}
|
212 |
+
$link .= ' class="btn btn-just-icon btn-simple"><i class="fa ' . esc_attr( $social_icon ) . '"></i></a>';
|
|
|
|
|
|
|
|
|
213 |
echo $link;
|
214 |
}
|
215 |
}
|
258 |
array(
|
259 |
'id' => 'customizer-repeater-social-repeater-57fb908674e06',
|
260 |
'link' => 'facebook.com',
|
261 |
+
'icon' => 'fa-facebook',
|
262 |
),
|
263 |
array(
|
264 |
'id' => 'customizer-repeater-social-repeater-57fb9148530ft',
|
265 |
'link' => 'plus.google.com',
|
266 |
+
'icon' => 'fa-google-plus',
|
267 |
),
|
268 |
array(
|
269 |
'id' => 'customizer-repeater-social-repeater-57fb9148530fc',
|
270 |
'link' => 'twitter.com',
|
271 |
+
'icon' => 'fa-twitter',
|
272 |
),
|
273 |
array(
|
274 |
'id' => 'customizer-repeater-social-repeater-57fb9150e1e89',
|
275 |
'link' => 'linkedin.com',
|
276 |
+
'icon' => 'fa-linkedin',
|
277 |
),
|
278 |
)
|
279 |
),
|
289 |
array(
|
290 |
'id' => 'customizer-repeater-social-repeater-57fb9155a1072',
|
291 |
'link' => 'facebook.com',
|
292 |
+
'icon' => 'fa-facebook',
|
293 |
),
|
294 |
array(
|
295 |
'id' => 'customizer-repeater-social-repeater-57fb9160ab683',
|
296 |
'link' => 'twitter.com',
|
297 |
+
'icon' => 'fa-twitter',
|
298 |
),
|
299 |
array(
|
300 |
'id' => 'customizer-repeater-social-repeater-57fb9160ab484',
|
301 |
'link' => 'pinterest.com',
|
302 |
+
'icon' => 'fa-pinterest',
|
303 |
),
|
304 |
array(
|
305 |
'id' => 'customizer-repeater-social-repeater-57fb916ddffc9',
|
306 |
'link' => 'linkedin.com',
|
307 |
+
'icon' => 'fa-linkedin',
|
308 |
),
|
309 |
)
|
310 |
),
|
320 |
array(
|
321 |
'id' => 'customizer-repeater-social-repeater-57fb917e4c69e',
|
322 |
'link' => 'facebook.com',
|
323 |
+
'icon' => 'fa-facebook',
|
324 |
),
|
325 |
array(
|
326 |
'id' => 'customizer-repeater-social-repeater-57fb91830825c',
|
327 |
'link' => 'twitter.com',
|
328 |
+
'icon' => 'fa-twitter',
|
329 |
),
|
330 |
array(
|
331 |
'id' => 'customizer-repeater-social-repeater-57fb918d65f2e',
|
332 |
'link' => 'linkedin.com',
|
333 |
+
'icon' => 'fa-linkedin',
|
334 |
),
|
335 |
array(
|
336 |
'id' => 'customizer-repeater-social-repeater-57fb918d65f2x',
|
337 |
'link' => 'dribbble.com',
|
338 |
+
'icon' => 'fa-dribbble',
|
339 |
),
|
340 |
)
|
341 |
),
|
351 |
array(
|
352 |
'id' => 'customizer-repeater-social-repeater-57fb925cedcg5',
|
353 |
'link' => 'github.com',
|
354 |
+
'icon' => 'fa-github-square',
|
355 |
),
|
356 |
array(
|
357 |
'id' => 'customizer-repeater-social-repeater-57fb925cedcb2',
|
358 |
'link' => 'facebook.com',
|
359 |
+
'icon' => 'fa-facebook',
|
360 |
),
|
361 |
array(
|
362 |
'id' => 'customizer-repeater-social-repeater-57fb92615f030',
|
363 |
'link' => 'twitter.com',
|
364 |
+
'icon' => 'fa-twitter',
|
365 |
),
|
366 |
array(
|
367 |
'id' => 'customizer-repeater-social-repeater-57fb9266c223a',
|
368 |
'link' => 'linkedin.com',
|
369 |
+
'icon' => 'fa-linkedin',
|
370 |
),
|
371 |
)
|
372 |
),
|
readme.md
CHANGED
@@ -110,6 +110,11 @@ Activating the Orbit Fox plugin is just like any other plugin. If you've uploade
|
|
110 |
5. Social Sharing Module
|
111 |
|
112 |
## Changelog ##
|
|
|
|
|
|
|
|
|
|
|
113 |
### 2.7.2 - 2018-12-10 ###
|
114 |
|
115 |
* Tested with WP 5.0
|
110 |
5. Social Sharing Module
|
111 |
|
112 |
## Changelog ##
|
113 |
+
### 2.7.3 - 2018-12-12 ###
|
114 |
+
|
115 |
+
* Revert Font Awesome 5 integration
|
116 |
+
|
117 |
+
|
118 |
### 2.7.2 - 2018-12-10 ###
|
119 |
|
120 |
* Tested with WP 5.0
|
readme.txt
CHANGED
@@ -110,6 +110,11 @@ Activating the Orbit Fox plugin is just like any other plugin. If you've uploade
|
|
110 |
5. Social Sharing Module
|
111 |
|
112 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
113 |
= 2.7.2 - 2018-12-10 =
|
114 |
|
115 |
* Tested with WP 5.0
|
110 |
5. Social Sharing Module
|
111 |
|
112 |
== Changelog ==
|
113 |
+
= 2.7.3 - 2018-12-12 =
|
114 |
+
|
115 |
+
* Revert Font Awesome 5 integration
|
116 |
+
|
117 |
+
|
118 |
= 2.7.2 - 2018-12-10 =
|
119 |
|
120 |
* Tested with WP 5.0
|
themeisle-companion.php
CHANGED
@@ -15,7 +15,7 @@
|
|
15 |
* Plugin Name: Orbit Fox Companion
|
16 |
* Plugin URI: https://orbitfox.com/
|
17 |
* Description: This swiss-knife plugin comes with a quality template library, menu/sharing icons modules, Gutenberg blocks, and newly added Elementor/BeaverBuilder page builder widgets on each release.
|
18 |
-
* Version: 2.7.
|
19 |
* Author: Themeisle
|
20 |
* Author URI: https://orbitfox.com/
|
21 |
* License: GPL-2.0+
|
15 |
* Plugin Name: Orbit Fox Companion
|
16 |
* Plugin URI: https://orbitfox.com/
|
17 |
* Description: This swiss-knife plugin comes with a quality template library, menu/sharing icons modules, Gutenberg blocks, and newly added Elementor/BeaverBuilder page builder widgets on each release.
|
18 |
+
* Version: 2.7.3
|
19 |
* Author: Themeisle
|
20 |
* Author URI: https://orbitfox.com/
|
21 |
* License: GPL-2.0+
|
themeisle-hash.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"class-autoloader.php":"57e533b653d235e76cb9953720e4f5e9","index.php":"39ab8276fb0e4bd3fcab3270822c5977","themeisle-companion.php":"
|
1 |
+
{"class-autoloader.php":"57e533b653d235e76cb9953720e4f5e9","index.php":"39ab8276fb0e4bd3fcab3270822c5977","themeisle-companion.php":"ebff23f2ba2b32c3c01b87bce0e6c629","uninstall.php":"7abf753a29e0eb3a844c8a0ba9493b7c"}
|
vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer' . '/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer' . '/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInit5d0f2d7bb8ff97fa50f67518580a034f::getLoader();
|
vendor/codeinwp/templates-directory/class-page-templates-directory.php
CHANGED
@@ -15,7 +15,7 @@ if ( ! class_exists( '\ThemeIsle\PageTemplatesDirectory' ) ) {
|
|
15 |
* The version of this library
|
16 |
* @var string
|
17 |
*/
|
18 |
-
public static $version = '1.0.
|
19 |
|
20 |
/**
|
21 |
* Holds the module slug.
|
@@ -259,12 +259,12 @@ if ( ! class_exists( '\ThemeIsle\PageTemplatesDirectory' ) ) {
|
|
259 |
'screenshot' => esc_url( $this->get_source_url() . 'rik-elementor/screenshot.jpg' ),
|
260 |
'import_file' => esc_url( $this->get_source_url() . 'rik-elementor/template.json' ),
|
261 |
),
|
262 |
-
'
|
263 |
-
'title' => __( '
|
264 |
-
'description' => __( 'A friendly one-page
|
265 |
-
'demo_url' => 'https://demo.themeisle.com/hestia-pro-demo-content/
|
266 |
-
'screenshot' => esc_url( $this->get_source_url() . '
|
267 |
-
'import_file' => esc_url( $this->get_source_url() . '
|
268 |
),
|
269 |
'notify' => array(
|
270 |
'title' => __( 'Notify - Landing Page', 'themeisle-companion' ),
|
@@ -336,19 +336,27 @@ if ( ! class_exists( '\ThemeIsle\PageTemplatesDirectory' ) ) {
|
|
336 |
|
337 |
/**
|
338 |
* Utility method to call Elementor import routine.
|
|
|
|
|
|
|
|
|
339 |
*/
|
340 |
-
public function import_elementor(\WP_REST_Request $request ) {
|
341 |
if ( ! defined( 'ELEMENTOR_VERSION' ) ) {
|
342 |
return 'no-elementor';
|
343 |
}
|
344 |
|
345 |
-
$params
|
346 |
$template_name = $params['template_name'];
|
347 |
-
$template_url
|
348 |
|
349 |
require_once( ABSPATH . 'wp-admin' . '/includes/file.php' );
|
350 |
require_once( ABSPATH . 'wp-admin' . '/includes/image.php' );
|
351 |
|
|
|
|
|
|
|
|
|
352 |
$template = download_url( esc_url( $template_url ) );
|
353 |
$name = $template_name;
|
354 |
$_FILES['file']['tmp_name'] = $template;
|
@@ -420,8 +428,6 @@ if ( ! class_exists( '\ThemeIsle\PageTemplatesDirectory' ) ) {
|
|
420 |
), admin_url( 'post.php' ) );
|
421 |
|
422 |
return ( $redirect_url );
|
423 |
-
|
424 |
-
die();
|
425 |
}
|
426 |
|
427 |
/**
|
15 |
* The version of this library
|
16 |
* @var string
|
17 |
*/
|
18 |
+
public static $version = '1.0.9';
|
19 |
|
20 |
/**
|
21 |
* Holds the module slug.
|
259 |
'screenshot' => esc_url( $this->get_source_url() . 'rik-elementor/screenshot.jpg' ),
|
260 |
'import_file' => esc_url( $this->get_source_url() . 'rik-elementor/template.json' ),
|
261 |
),
|
262 |
+
'zelle-lite' => array(
|
263 |
+
'title' => __( 'Zelle Lite - One Page Template', 'themeisle-companion' ),
|
264 |
+
'description' => __( 'A friendly one-page multipurpose page, with a full-width image in the background. It comes with an elegant and modern design, which could fit very well any kind of business. Zelle Lite has an interactive and colorful interface, with classy parallax effect and lively animations. You can use it for your online shop as well.', 'themeisle-companion' ),
|
265 |
+
'demo_url' => 'https://demo.themeisle.com/hestia-pro-demo-content/zelle-lite/',
|
266 |
+
'screenshot' => esc_url( $this->get_source_url() . 'zelle-lite/screenshot.jpg' ),
|
267 |
+
'import_file' => esc_url( $this->get_source_url() . 'zelle-lite/template.json' ),
|
268 |
),
|
269 |
'notify' => array(
|
270 |
'title' => __( 'Notify - Landing Page', 'themeisle-companion' ),
|
336 |
|
337 |
/**
|
338 |
* Utility method to call Elementor import routine.
|
339 |
+
*
|
340 |
+
* @param \WP_REST_Request $request the async request.
|
341 |
+
*
|
342 |
+
* @return string
|
343 |
*/
|
344 |
+
public function import_elementor( \WP_REST_Request $request ) {
|
345 |
if ( ! defined( 'ELEMENTOR_VERSION' ) ) {
|
346 |
return 'no-elementor';
|
347 |
}
|
348 |
|
349 |
+
$params = $request->get_params();
|
350 |
$template_name = $params['template_name'];
|
351 |
+
$template_url = $params['template_url'];
|
352 |
|
353 |
require_once( ABSPATH . 'wp-admin' . '/includes/file.php' );
|
354 |
require_once( ABSPATH . 'wp-admin' . '/includes/image.php' );
|
355 |
|
356 |
+
// Mime a supported document type.
|
357 |
+
$elementor_plugin = \Elementor\Plugin::$instance;
|
358 |
+
$elementor_plugin->documents->register_document_type( 'not-supported', \Elementor\Modules\Library\Documents\Page::get_class_full_name() );
|
359 |
+
|
360 |
$template = download_url( esc_url( $template_url ) );
|
361 |
$name = $template_name;
|
362 |
$_FILES['file']['tmp_name'] = $template;
|
428 |
), admin_url( 'post.php' ) );
|
429 |
|
430 |
return ( $redirect_url );
|
|
|
|
|
431 |
}
|
432 |
|
433 |
/**
|
vendor/codeinwp/templates-directory/composer.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
"name": "codeinwp/templates-directory",
|
3 |
"description": "A WordPress library to manage page templates.",
|
4 |
"type": "library",
|
5 |
-
"version": "1.0.
|
6 |
"license": "GPL-2.0-or-later",
|
7 |
"homepage": "https://github.com/Codeinwp/templates-directory",
|
8 |
"authors": [
|
2 |
"name": "codeinwp/templates-directory",
|
3 |
"description": "A WordPress library to manage page templates.",
|
4 |
"type": "library",
|
5 |
+
"version": "1.0.9",
|
6 |
"license": "GPL-2.0-or-later",
|
7 |
"homepage": "https://github.com/Codeinwp/templates-directory",
|
8 |
"authors": [
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit8ece57ce2ee4024f117d571a2875f404
|
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
-
spl_autoload_register(array('
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
-
spl_autoload_unregister(array('
|
25 |
|
26 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
27 |
foreach ($map as $namespace => $path) {
|
@@ -42,14 +42,14 @@ class ComposerAutoloaderInit8ece57ce2ee4024f117d571a2875f404
|
|
42 |
|
43 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
44 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
45 |
-
|
46 |
}
|
47 |
|
48 |
return $loader;
|
49 |
}
|
50 |
}
|
51 |
|
52 |
-
function
|
53 |
{
|
54 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
55 |
require $file;
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInit5d0f2d7bb8ff97fa50f67518580a034f
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInit5d0f2d7bb8ff97fa50f67518580a034f', 'loadClassLoader'), true, true);
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit5d0f2d7bb8ff97fa50f67518580a034f', '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 |
+
composerRequire5d0f2d7bb8ff97fa50f67518580a034f($fileIdentifier, $file);
|
46 |
}
|
47 |
|
48 |
return $loader;
|
49 |
}
|
50 |
}
|
51 |
|
52 |
+
function composerRequire5d0f2d7bb8ff97fa50f67518580a034f($fileIdentifier, $file)
|
53 |
{
|
54 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
55 |
require $file;
|
vendor/composer/installed.json
CHANGED
@@ -119,18 +119,18 @@
|
|
119 |
"source": {
|
120 |
"type": "git",
|
121 |
"url": "https://github.com/Codeinwp/templates-directory.git",
|
122 |
-
"reference": "
|
123 |
},
|
124 |
"dist": {
|
125 |
"type": "zip",
|
126 |
-
"url": "https://api.github.com/repos/Codeinwp/templates-directory/zipball/
|
127 |
-
"reference": "
|
128 |
"shasum": ""
|
129 |
},
|
130 |
"require": {
|
131 |
"codeinwp/full-width-page-templates": "master"
|
132 |
},
|
133 |
-
"time": "2018-
|
134 |
"type": "library",
|
135 |
"installation-source": "dist",
|
136 |
"autoload": {
|
119 |
"source": {
|
120 |
"type": "git",
|
121 |
"url": "https://github.com/Codeinwp/templates-directory.git",
|
122 |
+
"reference": "18e8b64784457e3851bc79203e1306b6057d4d69"
|
123 |
},
|
124 |
"dist": {
|
125 |
"type": "zip",
|
126 |
+
"url": "https://api.github.com/repos/Codeinwp/templates-directory/zipball/18e8b64784457e3851bc79203e1306b6057d4d69",
|
127 |
+
"reference": "18e8b64784457e3851bc79203e1306b6057d4d69",
|
128 |
"shasum": ""
|
129 |
},
|
130 |
"require": {
|
131 |
"codeinwp/full-width-page-templates": "master"
|
132 |
},
|
133 |
+
"time": "2018-12-12 21:50:20",
|
134 |
"type": "library",
|
135 |
"installation-source": "dist",
|
136 |
"autoload": {
|