Version Description
- 2017-09-11
Download this release
Release Info
Developer | codeinwp |
Plugin | Orbit Fox by ThemeIsle |
Version | 2.0.4 |
Comparing to | |
See all releases |
Code changes from version 2.0.3 to 2.0.4
- CHANGELOG.md +5 -0
- core/app/class-orbit-fox-admin.php +97 -79
- core/assets/css/orbit-fox-admin.css +2 -2
- core/assets/js/orbit-fox-admin.js +1 -1
- core/includes/class-orbit-fox.php +1 -1
- readme.txt +7 -0
- themeisle-companion.php +1 -1
- vendor/autoload.php +1 -1
- vendor/composer/autoload_real.php +5 -5
CHANGELOG.md
CHANGED
@@ -1,4 +1,9 @@
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
2 |
### v2.0.3 - 2017-08-24
|
3 |
**Changes:**
|
4 |
* Improved compatibility with the new Hestia version.
|
1 |
|
2 |
+
### v2.0.4 - 2017-09-11
|
3 |
+
**Changes:**
|
4 |
+
* Adds PHP minimum requirement.
|
5 |
+
* Fix for admin styles loading screen.
|
6 |
+
|
7 |
### v2.0.3 - 2017-08-24
|
8 |
**Changes:**
|
9 |
* Improved compatibility with the new Hestia version.
|
core/app/class-orbit-fox-admin.php
CHANGED
@@ -26,7 +26,7 @@ class Orbit_Fox_Admin {
|
|
26 |
*
|
27 |
* @since 1.0.0
|
28 |
* @access private
|
29 |
-
* @var string
|
30 |
*/
|
31 |
private $plugin_name;
|
32 |
|
@@ -35,7 +35,7 @@ class Orbit_Fox_Admin {
|
|
35 |
*
|
36 |
* @since 1.0.0
|
37 |
* @access private
|
38 |
-
* @var string
|
39 |
*/
|
40 |
private $version;
|
41 |
|
@@ -43,13 +43,14 @@ class Orbit_Fox_Admin {
|
|
43 |
* Initialize the class and set its properties.
|
44 |
*
|
45 |
* @since 1.0.0
|
46 |
-
*
|
47 |
-
* @param string $
|
|
|
48 |
*/
|
49 |
public function __construct( $plugin_name, $version ) {
|
50 |
|
51 |
$this->plugin_name = $plugin_name;
|
52 |
-
$this->version
|
53 |
|
54 |
}
|
55 |
|
@@ -71,9 +72,14 @@ class Orbit_Fox_Admin {
|
|
71 |
* between the defined hooks and the functions defined in this
|
72 |
* class.
|
73 |
*/
|
74 |
-
|
75 |
-
|
76 |
-
|
|
|
|
|
|
|
|
|
|
|
77 |
}
|
78 |
|
79 |
/**
|
@@ -95,8 +101,14 @@ class Orbit_Fox_Admin {
|
|
95 |
* class.
|
96 |
*/
|
97 |
|
98 |
-
|
99 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
100 |
}
|
101 |
|
102 |
/**
|
@@ -125,6 +137,27 @@ class Orbit_Fox_Admin {
|
|
125 |
do_action( 'orbit_fox_modules' );
|
126 |
}
|
127 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
128 |
/**
|
129 |
* A method used for saving module options data
|
130 |
* and returning a well formatted response as an array.
|
@@ -133,27 +166,30 @@ class Orbit_Fox_Admin {
|
|
133 |
*
|
134 |
* @since 1.0.0
|
135 |
* @access public
|
|
|
136 |
* @param array $data The options data to try and save via the module model.
|
|
|
137 |
* @return array
|
138 |
*/
|
139 |
public function try_module_save( $data ) {
|
140 |
-
$response
|
141 |
-
$global_settings
|
142 |
-
$modules
|
143 |
-
$response['type']
|
144 |
$response['message'] = __( 'No module found! No data was updated.', 'themeisle-companion' );
|
145 |
if ( isset( $modules[ $data['module-slug'] ] ) ) {
|
146 |
$module = $modules[ $data['module-slug'] ];
|
147 |
unset( $data['noance'] );
|
148 |
unset( $data['module-slug'] );
|
149 |
-
$response['type']
|
150 |
$response['message'] = __( 'Something went wrong, data might not be saved!', 'themeisle-companion' );
|
151 |
-
$result
|
152 |
if ( $result ) {
|
153 |
-
$response['type']
|
154 |
$response['message'] = __( 'Options updated, successfully!', 'themeisle-companion' );
|
155 |
}
|
156 |
}
|
|
|
157 |
return $response;
|
158 |
}
|
159 |
|
@@ -166,13 +202,13 @@ class Orbit_Fox_Admin {
|
|
166 |
* @since 1.0.0
|
167 |
* @access public
|
168 |
*/
|
169 |
-
public function
|
170 |
-
$json
|
171 |
-
$data
|
172 |
-
$response['type']
|
173 |
$response['message'] = __( 'Could not process the request!', 'themeisle-companion' );
|
174 |
-
if ( isset( $data['noance'] ) && wp_verify_nonce( $data['noance'], '
|
175 |
-
$response = $this->
|
176 |
}
|
177 |
echo json_encode( $response );
|
178 |
wp_die();
|
@@ -186,47 +222,29 @@ class Orbit_Fox_Admin {
|
|
186 |
*
|
187 |
* @since 1.0.0
|
188 |
* @access public
|
|
|
189 |
* @param array $data The data to try and update status via the module model.
|
|
|
190 |
* @return array
|
191 |
*/
|
192 |
public function try_module_activate( $data ) {
|
193 |
-
$response
|
194 |
-
$global_settings
|
195 |
-
$modules
|
196 |
-
$response['type']
|
197 |
$response['message'] = __( 'No module found!', 'themeisle-companion' );
|
198 |
if ( isset( $modules[ $data['name'] ] ) ) {
|
199 |
-
$module
|
200 |
-
$response['type']
|
201 |
$response['message'] = __( 'Something went wrong, can not change module status!', 'themeisle-companion' );
|
202 |
-
$result
|
203 |
if ( $result ) {
|
204 |
-
$response['type']
|
205 |
$response['message'] = __( 'Module status changed!', 'themeisle-companion' );
|
206 |
}
|
207 |
}
|
208 |
-
return $response;
|
209 |
-
}
|
210 |
|
211 |
-
|
212 |
-
* This method is called via AJAX and processes the
|
213 |
-
* request for updating module options.
|
214 |
-
*
|
215 |
-
* @codeCoverageIgnore
|
216 |
-
*
|
217 |
-
* @since 1.0.0
|
218 |
-
* @access public
|
219 |
-
*/
|
220 |
-
public function obfx_update_module_active_status() {
|
221 |
-
$json = stripslashes( str_replace( '"', '"', $_POST['data'] ) );
|
222 |
-
$data = json_decode( $json, true );
|
223 |
-
$response['type'] = 'error';
|
224 |
-
$response['message'] = __( 'Could not process the request!', 'themeisle-companion' );
|
225 |
-
if ( isset( $data['noance'] ) && wp_verify_nonce( $data['noance'], 'obfx_activate_mod_' . $data['name'] ) ) {
|
226 |
-
$response = $this->try_module_activate( $data );
|
227 |
-
}
|
228 |
-
echo json_encode( $response );
|
229 |
-
wp_die();
|
230 |
}
|
231 |
|
232 |
/**
|
@@ -242,14 +260,14 @@ class Orbit_Fox_Admin {
|
|
242 |
|
243 |
$modules = $global_settings::$instance->module_objects;
|
244 |
|
245 |
-
$rdh
|
246 |
-
$tiles
|
247 |
-
$panels
|
248 |
-
$toasts
|
249 |
$count_modules = 0;
|
250 |
foreach ( $modules as $slug => $module ) {
|
251 |
if ( $module->enable_module() ) {
|
252 |
-
$notices
|
253 |
$showed_notices = $module->get_status( 'showed_notices' );
|
254 |
if ( ! is_array( $showed_notices ) ) {
|
255 |
$showed_notices = array();
|
@@ -270,17 +288,17 @@ class Orbit_Fox_Admin {
|
|
270 |
|
271 |
$module->update_showed_notices();
|
272 |
if ( $module->auto == false ) {
|
273 |
-
$count_modules++;
|
274 |
$checked = '';
|
275 |
if ( $module->get_is_active() ) {
|
276 |
$checked = 'checked';
|
277 |
}
|
278 |
|
279 |
-
$data
|
280 |
-
'slug'
|
281 |
-
'name'
|
282 |
'description' => $module->description,
|
283 |
-
'checked'
|
284 |
);
|
285 |
$tiles .= $rdh->get_partial( 'module-tile', $data );
|
286 |
$tiles .= '<div class="divider"></div>';
|
@@ -296,10 +314,10 @@ class Orbit_Fox_Admin {
|
|
296 |
$panels .= $rdh->get_partial(
|
297 |
'module-panel',
|
298 |
array(
|
299 |
-
'slug'
|
300 |
-
'name'
|
301 |
-
'active'
|
302 |
-
'description'
|
303 |
'options_fields' => $options_fields,
|
304 |
)
|
305 |
);
|
@@ -308,34 +326,34 @@ class Orbit_Fox_Admin {
|
|
308 |
}// End foreach().
|
309 |
|
310 |
$no_modules = false;
|
311 |
-
$empty_tpl
|
312 |
if ( $count_modules == 0 ) {
|
313 |
$no_modules = true;
|
314 |
-
$empty_tpl
|
315 |
'empty',
|
316 |
array(
|
317 |
-
'title'
|
318 |
'sub_title' => __( 'Please contact support for more help.', 'themeisle-companion' ),
|
319 |
-
'show_btn'
|
320 |
)
|
321 |
);
|
322 |
-
$panels
|
323 |
'empty',
|
324 |
array(
|
325 |
-
'title'
|
326 |
'sub_title' => __( 'Activate a module using the toggles above.', 'themeisle-companion' ),
|
327 |
-
'show_btn'
|
328 |
)
|
329 |
);
|
330 |
}
|
331 |
|
332 |
-
$data
|
333 |
-
'no_modules'
|
334 |
-
'empty_tpl'
|
335 |
'count_modules' => $count_modules,
|
336 |
-
'tiles'
|
337 |
-
'toasts'
|
338 |
-
'panels'
|
339 |
);
|
340 |
$output = $rdh->get_view( 'modules', $data );
|
341 |
echo $output;
|
26 |
*
|
27 |
* @since 1.0.0
|
28 |
* @access private
|
29 |
+
* @var string $plugin_name The ID of this plugin.
|
30 |
*/
|
31 |
private $plugin_name;
|
32 |
|
35 |
*
|
36 |
* @since 1.0.0
|
37 |
* @access private
|
38 |
+
* @var string $version The current version of this plugin.
|
39 |
*/
|
40 |
private $version;
|
41 |
|
43 |
* Initialize the class and set its properties.
|
44 |
*
|
45 |
* @since 1.0.0
|
46 |
+
*
|
47 |
+
* @param string $plugin_name The name of this plugin.
|
48 |
+
* @param string $version The version of this plugin.
|
49 |
*/
|
50 |
public function __construct( $plugin_name, $version ) {
|
51 |
|
52 |
$this->plugin_name = $plugin_name;
|
53 |
+
$this->version = $version;
|
54 |
|
55 |
}
|
56 |
|
72 |
* between the defined hooks and the functions defined in this
|
73 |
* class.
|
74 |
*/
|
75 |
+
$screen = get_current_screen();
|
76 |
+
if ( empty( $screen ) ) {
|
77 |
+
return;
|
78 |
+
}
|
79 |
+
if ( in_array( $screen->id, array( 'tools_page_obfx_companion' ) ) ) {
|
80 |
+
wp_enqueue_style( $this->plugin_name, plugin_dir_url( __FILE__ ) . '../assets/css/orbit-fox-admin.css', array(), $this->version, 'all' );
|
81 |
+
do_action( 'obfx_admin_enqueue_styles' );
|
82 |
+
}
|
83 |
}
|
84 |
|
85 |
/**
|
101 |
* class.
|
102 |
*/
|
103 |
|
104 |
+
$screen = get_current_screen();
|
105 |
+
if ( empty( $screen ) ) {
|
106 |
+
return;
|
107 |
+
}
|
108 |
+
if ( in_array( $screen->id, array( 'tools_page_obfx_companion' ) ) ) {
|
109 |
+
wp_enqueue_script( $this->plugin_name, plugin_dir_url( __FILE__ ) . '../assets/js/orbit-fox-admin.js', array( 'jquery' ), $this->version, false );
|
110 |
+
do_action( 'obfx_admin_enqueue_scripts' );
|
111 |
+
}
|
112 |
}
|
113 |
|
114 |
/**
|
137 |
do_action( 'orbit_fox_modules' );
|
138 |
}
|
139 |
|
140 |
+
/**
|
141 |
+
* This method is called via AJAX and processes the
|
142 |
+
* request for updating module options.
|
143 |
+
*
|
144 |
+
* @codeCoverageIgnore
|
145 |
+
*
|
146 |
+
* @since 1.0.0
|
147 |
+
* @access public
|
148 |
+
*/
|
149 |
+
public function obfx_update_module_options() {
|
150 |
+
$json = stripslashes( str_replace( '"', '"', $_POST['data'] ) );
|
151 |
+
$data = json_decode( $json, true );
|
152 |
+
$response['type'] = 'error';
|
153 |
+
$response['message'] = __( 'Could not process the request!', 'themeisle-companion' );
|
154 |
+
if ( isset( $data['noance'] ) && wp_verify_nonce( $data['noance'], 'obfx_update_module_options_' . $data['module-slug'] ) ) {
|
155 |
+
$response = $this->try_module_save( $data );
|
156 |
+
}
|
157 |
+
echo json_encode( $response );
|
158 |
+
wp_die();
|
159 |
+
}
|
160 |
+
|
161 |
/**
|
162 |
* A method used for saving module options data
|
163 |
* and returning a well formatted response as an array.
|
166 |
*
|
167 |
* @since 1.0.0
|
168 |
* @access public
|
169 |
+
*
|
170 |
* @param array $data The options data to try and save via the module model.
|
171 |
+
*
|
172 |
* @return array
|
173 |
*/
|
174 |
public function try_module_save( $data ) {
|
175 |
+
$response = array();
|
176 |
+
$global_settings = new Orbit_Fox_Global_Settings();
|
177 |
+
$modules = $global_settings::$instance->module_objects;
|
178 |
+
$response['type'] = 'error';
|
179 |
$response['message'] = __( 'No module found! No data was updated.', 'themeisle-companion' );
|
180 |
if ( isset( $modules[ $data['module-slug'] ] ) ) {
|
181 |
$module = $modules[ $data['module-slug'] ];
|
182 |
unset( $data['noance'] );
|
183 |
unset( $data['module-slug'] );
|
184 |
+
$response['type'] = 'warning';
|
185 |
$response['message'] = __( 'Something went wrong, data might not be saved!', 'themeisle-companion' );
|
186 |
+
$result = $module->set_options( $data );
|
187 |
if ( $result ) {
|
188 |
+
$response['type'] = 'success';
|
189 |
$response['message'] = __( 'Options updated, successfully!', 'themeisle-companion' );
|
190 |
}
|
191 |
}
|
192 |
+
|
193 |
return $response;
|
194 |
}
|
195 |
|
202 |
* @since 1.0.0
|
203 |
* @access public
|
204 |
*/
|
205 |
+
public function obfx_update_module_active_status() {
|
206 |
+
$json = stripslashes( str_replace( '"', '"', $_POST['data'] ) );
|
207 |
+
$data = json_decode( $json, true );
|
208 |
+
$response['type'] = 'error';
|
209 |
$response['message'] = __( 'Could not process the request!', 'themeisle-companion' );
|
210 |
+
if ( isset( $data['noance'] ) && wp_verify_nonce( $data['noance'], 'obfx_activate_mod_' . $data['name'] ) ) {
|
211 |
+
$response = $this->try_module_activate( $data );
|
212 |
}
|
213 |
echo json_encode( $response );
|
214 |
wp_die();
|
222 |
*
|
223 |
* @since 1.0.0
|
224 |
* @access public
|
225 |
+
*
|
226 |
* @param array $data The data to try and update status via the module model.
|
227 |
+
*
|
228 |
* @return array
|
229 |
*/
|
230 |
public function try_module_activate( $data ) {
|
231 |
+
$response = array();
|
232 |
+
$global_settings = new Orbit_Fox_Global_Settings();
|
233 |
+
$modules = $global_settings::$instance->module_objects;
|
234 |
+
$response['type'] = 'error';
|
235 |
$response['message'] = __( 'No module found!', 'themeisle-companion' );
|
236 |
if ( isset( $modules[ $data['name'] ] ) ) {
|
237 |
+
$module = $modules[ $data['name'] ];
|
238 |
+
$response['type'] = 'warning';
|
239 |
$response['message'] = __( 'Something went wrong, can not change module status!', 'themeisle-companion' );
|
240 |
+
$result = $module->set_status( 'active', $data['checked'] );
|
241 |
if ( $result ) {
|
242 |
+
$response['type'] = 'success';
|
243 |
$response['message'] = __( 'Module status changed!', 'themeisle-companion' );
|
244 |
}
|
245 |
}
|
|
|
|
|
246 |
|
247 |
+
return $response;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
248 |
}
|
249 |
|
250 |
/**
|
260 |
|
261 |
$modules = $global_settings::$instance->module_objects;
|
262 |
|
263 |
+
$rdh = new Orbit_Fox_Render_Helper();
|
264 |
+
$tiles = '';
|
265 |
+
$panels = '';
|
266 |
+
$toasts = '';
|
267 |
$count_modules = 0;
|
268 |
foreach ( $modules as $slug => $module ) {
|
269 |
if ( $module->enable_module() ) {
|
270 |
+
$notices = $module->get_notices();
|
271 |
$showed_notices = $module->get_status( 'showed_notices' );
|
272 |
if ( ! is_array( $showed_notices ) ) {
|
273 |
$showed_notices = array();
|
288 |
|
289 |
$module->update_showed_notices();
|
290 |
if ( $module->auto == false ) {
|
291 |
+
$count_modules ++;
|
292 |
$checked = '';
|
293 |
if ( $module->get_is_active() ) {
|
294 |
$checked = 'checked';
|
295 |
}
|
296 |
|
297 |
+
$data = array(
|
298 |
+
'slug' => $slug,
|
299 |
+
'name' => $module->name,
|
300 |
'description' => $module->description,
|
301 |
+
'checked' => $checked,
|
302 |
);
|
303 |
$tiles .= $rdh->get_partial( 'module-tile', $data );
|
304 |
$tiles .= '<div class="divider"></div>';
|
314 |
$panels .= $rdh->get_partial(
|
315 |
'module-panel',
|
316 |
array(
|
317 |
+
'slug' => $slug,
|
318 |
+
'name' => $module->name,
|
319 |
+
'active' => $module->get_is_active(),
|
320 |
+
'description' => $module->description,
|
321 |
'options_fields' => $options_fields,
|
322 |
)
|
323 |
);
|
326 |
}// End foreach().
|
327 |
|
328 |
$no_modules = false;
|
329 |
+
$empty_tpl = '';
|
330 |
if ( $count_modules == 0 ) {
|
331 |
$no_modules = true;
|
332 |
+
$empty_tpl = $rdh->get_partial(
|
333 |
'empty',
|
334 |
array(
|
335 |
+
'title' => __( 'No modules found.', 'themeisle-companion' ),
|
336 |
'sub_title' => __( 'Please contact support for more help.', 'themeisle-companion' ),
|
337 |
+
'show_btn' => true,
|
338 |
)
|
339 |
);
|
340 |
+
$panels = $rdh->get_partial(
|
341 |
'empty',
|
342 |
array(
|
343 |
+
'title' => __( 'No active modules.', 'themeisle-companion' ),
|
344 |
'sub_title' => __( 'Activate a module using the toggles above.', 'themeisle-companion' ),
|
345 |
+
'show_btn' => false,
|
346 |
)
|
347 |
);
|
348 |
}
|
349 |
|
350 |
+
$data = array(
|
351 |
+
'no_modules' => $no_modules,
|
352 |
+
'empty_tpl' => $empty_tpl,
|
353 |
'count_modules' => $count_modules,
|
354 |
+
'tiles' => $tiles,
|
355 |
+
'toasts' => $toasts,
|
356 |
+
'panels' => $panels,
|
357 |
);
|
358 |
$output = $rdh->get_view( 'modules', $data );
|
359 |
echo $output;
|
core/assets/css/orbit-fox-admin.css
CHANGED
@@ -7,8 +7,8 @@
|
|
7 |
* @author ThemeIsle
|
8 |
* Extends Spectre.css Library
|
9 |
*/
|
10 |
-
/*
|
11 |
-
|
12 |
*/
|
13 |
|
14 |
/* Document
|
7 |
* @author ThemeIsle
|
8 |
* Extends Spectre.css Library
|
9 |
*/
|
10 |
+
/*
|
11 |
+
Version: 2.0.4
|
12 |
*/
|
13 |
|
14 |
/* Document
|
core/assets/js/orbit-fox-admin.js
CHANGED
@@ -95,7 +95,7 @@ var obfx_admin = function( $ ) {
|
|
95 |
} else {
|
96 |
$( this ).addClass( 'active' );
|
97 |
$( this ).closest( '.panel-header' ).siblings( '.obfx-module-form' ).addClass( 'active' );
|
98 |
-
$( this ).closest( '.panel.options' ).css( 'height', ( $( this ).closest( '.panel-header' ).siblings( '.obfx-module-form' ).height()*1 + 80 ) + 'px' );
|
99 |
}
|
100 |
} );
|
101 |
|
95 |
} else {
|
96 |
$( this ).addClass( 'active' );
|
97 |
$( this ).closest( '.panel-header' ).siblings( '.obfx-module-form' ).addClass( 'active' );
|
98 |
+
$( this ).closest( '.panel.options' ).css( 'height', ( $( this ).closest( '.panel-header' ).siblings( '.obfx-module-form' ).height() * 1 + 80 ) + 'px' );
|
99 |
}
|
100 |
} );
|
101 |
|
core/includes/class-orbit-fox.php
CHANGED
@@ -68,7 +68,7 @@ class Orbit_Fox {
|
|
68 |
public function __construct() {
|
69 |
|
70 |
$this->plugin_name = 'orbit-fox';
|
71 |
-
$this->version = '2.0.
|
72 |
|
73 |
$this->load_dependencies();
|
74 |
$this->set_locale();
|
68 |
public function __construct() {
|
69 |
|
70 |
$this->plugin_name = 'orbit-fox';
|
71 |
+
$this->version = '2.0.4';
|
72 |
|
73 |
$this->load_dependencies();
|
74 |
$this->set_locale();
|
readme.txt
CHANGED
@@ -3,6 +3,7 @@ Contributors: themeisle, codeinwp, rodicaelena, baicusandrei
|
|
3 |
Tags: widget, admin, widgets, sharing, reporting, sections, themes
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 4.8
|
|
|
6 |
Stable tag: trunk
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -76,6 +77,12 @@ Activating the Orbit Fox Companion plugin is just like any other plugin. If you'
|
|
76 |
3. Screenshot 3. How reports module is looking
|
77 |
|
78 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
79 |
= 2.0.3 - 2017-08-24 =
|
80 |
|
81 |
* Improved compatibility with the new Hestia version.
|
3 |
Tags: widget, admin, widgets, sharing, reporting, sections, themes
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 4.8
|
6 |
+
Requires PHP: 5.3
|
7 |
Stable tag: trunk
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
77 |
3. Screenshot 3. How reports module is looking
|
78 |
|
79 |
== Changelog ==
|
80 |
+
= 2.0.4 - 2017-09-11 =
|
81 |
+
|
82 |
+
* Adds PHP minimum requirement.
|
83 |
+
* Fix for admin styles loading screen.
|
84 |
+
|
85 |
+
|
86 |
= 2.0.3 - 2017-08-24 =
|
87 |
|
88 |
* Improved compatibility with the new Hestia version.
|
themeisle-companion.php
CHANGED
@@ -15,7 +15,7 @@
|
|
15 |
* Plugin Name: Orbit Fox Companion
|
16 |
* Plugin URI: https://themeisle.com/plugins/orbit-fox-companion
|
17 |
* Description: Enhances ThemeIsle's themes with extra functionality.
|
18 |
-
* Version: 2.0.
|
19 |
* Author: Themeisle
|
20 |
* Author URI: https://themeisle.com
|
21 |
* License: GPL-2.0+
|
15 |
* Plugin Name: Orbit Fox Companion
|
16 |
* Plugin URI: https://themeisle.com/plugins/orbit-fox-companion
|
17 |
* Description: Enhances ThemeIsle's themes with extra functionality.
|
18 |
+
* Version: 2.0.4
|
19 |
* Author: Themeisle
|
20 |
* Author URI: https://themeisle.com
|
21 |
* License: GPL-2.0+
|
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 ComposerAutoloaderInit09996169acff5be738f4dd809b7e2e61::getLoader();
|
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 ComposerAutoloaderInit93ef7e0033f9d4e7eba42884eb0218f8
|
|
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 ComposerAutoloaderInit93ef7e0033f9d4e7eba42884eb0218f8
|
|
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 ComposerAutoloaderInit09996169acff5be738f4dd809b7e2e61
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInit09996169acff5be738f4dd809b7e2e61', 'loadClassLoader'), true, true);
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit09996169acff5be738f4dd809b7e2e61', '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 |
+
composerRequire09996169acff5be738f4dd809b7e2e61($fileIdentifier, $file);
|
46 |
}
|
47 |
|
48 |
return $loader;
|
49 |
}
|
50 |
}
|
51 |
|
52 |
+
function composerRequire09996169acff5be738f4dd809b7e2e61($fileIdentifier, $file)
|
53 |
{
|
54 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
55 |
require $file;
|