Version Description
- 2017-11-16
Download this release
Release Info
Developer | codeinwp |
Plugin | FEEDZY RSS Feeds Lite |
Version | 3.2.6 |
Comparing to | |
See all releases |
Code changes from version 3.2.5 to 3.2.6
- CHANGELOG.md +3 -2
- css/feedzy-rss-feeds.css +1 -1
- feedzy-rss-feed.php +1 -1
- includes/feedzy-rss-feeds.php +1 -1
- readme.md +6 -1
- readme.txt +6 -1
- vendor/autoload.php +1 -1
- vendor/autoload_52.php +1 -1
- vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-feedback-deactivate.php +11 -11
- vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-feedback-factory.php +3 -3
- vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-feedback-translate.php +20 -3
- vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-feedback.php +6 -6
- vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-rollback.php +1 -1
- vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-widget.php +1 -1
- vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-widgets-factory.php +2 -2
- vendor/composer/autoload_real.php +5 -5
- vendor/composer/autoload_real_52.php +3 -3
- vendor/composer/installed.json +4 -4
CHANGELOG.md
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
|
2 |
-
### v3.2.
|
3 |
**Changes:**
|
4 |
-
|
|
|
5 |
### v3.2.5 - 2017-11-03
|
6 |
**Changes:**
|
7 |
* Fix for double slash issue in image path.
|
1 |
|
2 |
+
### v3.2.6 - 2017-11-16
|
3 |
**Changes:**
|
4 |
+
* Adds compatibility with WordPress 4.9
|
5 |
+
|
6 |
### v3.2.5 - 2017-11-03
|
7 |
**Changes:**
|
8 |
* Fix for double slash issue in image path.
|
css/feedzy-rss-feeds.css
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
* feedzy-rss-feeds.css
|
3 |
* Feedzy RSS Feed
|
4 |
* Copyright: (c) 2016 Themeisle, themeisle.com
|
5 |
-
* Version: 3.2.
|
6 |
* Plugin Name: FEEDZY RSS Feeds
|
7 |
* Plugin URI: http://themeisle.com/plugins/feedzy-rss-feeds/
|
8 |
* Author: Themeisle
|
2 |
* feedzy-rss-feeds.css
|
3 |
* Feedzy RSS Feed
|
4 |
* Copyright: (c) 2016 Themeisle, themeisle.com
|
5 |
+
* Version: 3.2.6
|
6 |
* Plugin Name: FEEDZY RSS Feeds
|
7 |
* Plugin URI: http://themeisle.com/plugins/feedzy-rss-feeds/
|
8 |
* Author: Themeisle
|
feedzy-rss-feed.php
CHANGED
@@ -15,7 +15,7 @@
|
|
15 |
* Plugin Name: Feedzy RSS Feeds Lite
|
16 |
* Plugin URI: https://themeisle.com/plugins/feedzy-rss-feeds-lite/
|
17 |
* Description: A small and lightweight RSS aggregator plugin. Fast and very easy to use, it allows you to aggregate multiple RSS feeds into your WordPress site through fully customizable shortcodes & widgets.
|
18 |
-
* Version: 3.2.
|
19 |
* Author: Themeisle
|
20 |
* Author URI: http://themeisle.com
|
21 |
* License: GPL-2.0+
|
15 |
* Plugin Name: Feedzy RSS Feeds Lite
|
16 |
* Plugin URI: https://themeisle.com/plugins/feedzy-rss-feeds-lite/
|
17 |
* Description: A small and lightweight RSS aggregator plugin. Fast and very easy to use, it allows you to aggregate multiple RSS feeds into your WordPress site through fully customizable shortcodes & widgets.
|
18 |
+
* Version: 3.2.6
|
19 |
* Author: Themeisle
|
20 |
* Author URI: http://themeisle.com
|
21 |
* License: GPL-2.0+
|
includes/feedzy-rss-feeds.php
CHANGED
@@ -104,7 +104,7 @@ class Feedzy_Rss_Feeds {
|
|
104 |
*/
|
105 |
public function init() {
|
106 |
self::$plugin_name = 'feedzy-rss-feeds';
|
107 |
-
self::$version = '3.2.
|
108 |
self::$instance->load_dependencies();
|
109 |
self::$instance->set_locale();
|
110 |
self::$instance->define_admin_hooks();
|
104 |
*/
|
105 |
public function init() {
|
106 |
self::$plugin_name = 'feedzy-rss-feeds';
|
107 |
+
self::$version = '3.2.6';
|
108 |
self::$instance->load_dependencies();
|
109 |
self::$instance->set_locale();
|
110 |
self::$instance->define_admin_hooks();
|
readme.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
**Contributors:** [themeisle](https://profiles.wordpress.org/themeisle), [codeinwp](https://profiles.wordpress.org/codeinwp), [hardeepasrani](https://profiles.wordpress.org/hardeepasrani)
|
3 |
**Tags:** RSS, SimplePie, shortcode, feed, thumbnail, image, rss feeds, aggregator, tinyMCE, WYSIWYG, MCE, UI, flux, plugin, WordPress, widget, importer, XML, ATOM, API, parser
|
4 |
**Requires at least:** 3.7
|
5 |
-
**Tested up to:** 4.
|
6 |
**Stable tag:** trunk
|
7 |
**License:** GPLv2 or later
|
8 |
**License URI:** http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -249,6 +249,11 @@ You have to check first if your feed is valid. Please test it here: https://vali
|
|
249 |
|
250 |
|
251 |
## Changelog ##
|
|
|
|
|
|
|
|
|
|
|
252 |
### 3.2.5 - 2017-11-03 ###
|
253 |
* Fix for double slash issue in image path.
|
254 |
* Fix for private ips when proxy is used.
|
2 |
**Contributors:** [themeisle](https://profiles.wordpress.org/themeisle), [codeinwp](https://profiles.wordpress.org/codeinwp), [hardeepasrani](https://profiles.wordpress.org/hardeepasrani)
|
3 |
**Tags:** RSS, SimplePie, shortcode, feed, thumbnail, image, rss feeds, aggregator, tinyMCE, WYSIWYG, MCE, UI, flux, plugin, WordPress, widget, importer, XML, ATOM, API, parser
|
4 |
**Requires at least:** 3.7
|
5 |
+
**Tested up to:** 4.9
|
6 |
**Stable tag:** trunk
|
7 |
**License:** GPLv2 or later
|
8 |
**License URI:** http://www.gnu.org/licenses/gpl-2.0.html
|
249 |
|
250 |
|
251 |
## Changelog ##
|
252 |
+
### 3.2.6 - 2017-11-16 ###
|
253 |
+
|
254 |
+
* Adds compatibility with WordPress 4.9
|
255 |
+
|
256 |
+
|
257 |
### 3.2.5 - 2017-11-03 ###
|
258 |
* Fix for double slash issue in image path.
|
259 |
* Fix for private ips when proxy is used.
|
readme.txt
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
Contributors: themeisle,codeinwp,hardeepasrani
|
3 |
Tags: RSS, SimplePie, shortcode, feed, thumbnail, image, rss feeds, aggregator, tinyMCE, WYSIWYG, MCE, UI, flux, plugin, WordPress, widget, importer, XML, ATOM, API, parser
|
4 |
Requires at least: 3.7
|
5 |
-
Tested up to: 4.
|
6 |
Stable tag: trunk
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -249,6 +249,11 @@ You have to check first if your feed is valid. Please test it here: https://vali
|
|
249 |
|
250 |
|
251 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
252 |
= 3.2.5 - 2017-11-03 =
|
253 |
* Fix for double slash issue in image path.
|
254 |
* Fix for private ips when proxy is used.
|
2 |
Contributors: themeisle,codeinwp,hardeepasrani
|
3 |
Tags: RSS, SimplePie, shortcode, feed, thumbnail, image, rss feeds, aggregator, tinyMCE, WYSIWYG, MCE, UI, flux, plugin, WordPress, widget, importer, XML, ATOM, API, parser
|
4 |
Requires at least: 3.7
|
5 |
+
Tested up to: 4.9
|
6 |
Stable tag: trunk
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
249 |
|
250 |
|
251 |
== Changelog ==
|
252 |
+
= 3.2.6 - 2017-11-16 =
|
253 |
+
|
254 |
+
* Adds compatibility with WordPress 4.9
|
255 |
+
|
256 |
+
|
257 |
= 3.2.5 - 2017-11-03 =
|
258 |
* Fix for double slash issue in image path.
|
259 |
* Fix for private ips when proxy is used.
|
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 ComposerAutoloaderInit715431a4486c2274dc1a3d8cb9376500::getLoader();
|
vendor/autoload_52.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInit7834e6ad306641d049f3a4bade9cbd68::getLoader();
|
vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-feedback-deactivate.php
CHANGED
@@ -22,21 +22,21 @@ if ( ! class_exists( 'ThemeIsle_SDK_Feedback_Deactivate' ) ) :
|
|
22 |
* @var array $options_plugin The main options list for plugins.
|
23 |
*/
|
24 |
private $options_plugin = array(
|
25 |
-
'I only needed the plugin for a short period'
|
26 |
'id' => 1,
|
27 |
),
|
28 |
-
'The plugin broke my site'
|
29 |
'id' => 2,
|
30 |
),
|
31 |
-
'I found a better plugin'
|
32 |
'id' => 3,
|
33 |
'type' => 'text',
|
34 |
'placeholder' => 'What\'s the plugin\'s name?',
|
35 |
),
|
36 |
-
'The plugin suddenly stopped working'
|
37 |
'id' => 4,
|
38 |
),
|
39 |
-
'I no longer need the plugin'
|
40 |
'id' => 5,
|
41 |
'type' => 'textarea',
|
42 |
'placeholder' => 'If you could improve one thing about our product, what would it be?',
|
@@ -50,13 +50,13 @@ if ( ! class_exists( 'ThemeIsle_SDK_Feedback_Deactivate' ) ) :
|
|
50 |
* @var array $options_theme The main options list for themes.
|
51 |
*/
|
52 |
private $options_theme = array(
|
53 |
-
'I don\'t know how to make it look like demo'
|
54 |
'id' => 7,
|
55 |
),
|
56 |
-
'It lacks options'
|
57 |
'id' => 8,
|
58 |
),
|
59 |
-
'Is not working with a plugin that I need'
|
60 |
'id' => 9,
|
61 |
'type' => 'text',
|
62 |
'placeholder' => 'What is the name of the plugin',
|
@@ -409,10 +409,10 @@ if ( ! class_exists( 'ThemeIsle_SDK_Feedback_Deactivate' ) ) :
|
|
409 |
|
410 |
$list = '';
|
411 |
foreach ( $options as $title => $attributes ) {
|
412 |
-
$id
|
413 |
$list .= '<li ti-option-id="' . $id . '"><input type="radio" name="ti-deactivate-option" id="' . $key . $id . '"><label for="' . $key . $id . '">' . str_replace( '{theme}', $this->product->get_name(), $title ) . '</label>';
|
414 |
if ( array_key_exists( 'type', $attributes ) ) {
|
415 |
-
$list
|
416 |
$placeholder = array_key_exists( 'placeholder', $attributes ) ? $attributes['placeholder'] : '';
|
417 |
switch ( $attributes['type'] ) {
|
418 |
case 'text':
|
@@ -431,7 +431,7 @@ if ( ! class_exists( 'ThemeIsle_SDK_Feedback_Deactivate' ) ) :
|
|
431 |
. '<ul class="ti-list">' . $list . '</ul>'
|
432 |
. '<div class="actions">'
|
433 |
. get_submit_button(
|
434 |
-
$button_submit_before
|
435 |
'data-after-text' => $button_submit,
|
436 |
)
|
437 |
)
|
22 |
* @var array $options_plugin The main options list for plugins.
|
23 |
*/
|
24 |
private $options_plugin = array(
|
25 |
+
'I only needed the plugin for a short period' => array(
|
26 |
'id' => 1,
|
27 |
),
|
28 |
+
'The plugin broke my site' => array(
|
29 |
'id' => 2,
|
30 |
),
|
31 |
+
'I found a better plugin' => array(
|
32 |
'id' => 3,
|
33 |
'type' => 'text',
|
34 |
'placeholder' => 'What\'s the plugin\'s name?',
|
35 |
),
|
36 |
+
'The plugin suddenly stopped working' => array(
|
37 |
'id' => 4,
|
38 |
),
|
39 |
+
'I no longer need the plugin' => array(
|
40 |
'id' => 5,
|
41 |
'type' => 'textarea',
|
42 |
'placeholder' => 'If you could improve one thing about our product, what would it be?',
|
50 |
* @var array $options_theme The main options list for themes.
|
51 |
*/
|
52 |
private $options_theme = array(
|
53 |
+
'I don\'t know how to make it look like demo' => array(
|
54 |
'id' => 7,
|
55 |
),
|
56 |
+
'It lacks options' => array(
|
57 |
'id' => 8,
|
58 |
),
|
59 |
+
'Is not working with a plugin that I need' => array(
|
60 |
'id' => 9,
|
61 |
'type' => 'text',
|
62 |
'placeholder' => 'What is the name of the plugin',
|
409 |
|
410 |
$list = '';
|
411 |
foreach ( $options as $title => $attributes ) {
|
412 |
+
$id = $attributes['id'];
|
413 |
$list .= '<li ti-option-id="' . $id . '"><input type="radio" name="ti-deactivate-option" id="' . $key . $id . '"><label for="' . $key . $id . '">' . str_replace( '{theme}', $this->product->get_name(), $title ) . '</label>';
|
414 |
if ( array_key_exists( 'type', $attributes ) ) {
|
415 |
+
$list .= '<div>';
|
416 |
$placeholder = array_key_exists( 'placeholder', $attributes ) ? $attributes['placeholder'] : '';
|
417 |
switch ( $attributes['type'] ) {
|
418 |
case 'text':
|
431 |
. '<ul class="ti-list">' . $list . '</ul>'
|
432 |
. '<div class="actions">'
|
433 |
. get_submit_button(
|
434 |
+
$button_submit_before, 'secondary', $this->product->get_key() . 'ti-deactivate-yes', false, array(
|
435 |
'data-after-text' => $button_submit,
|
436 |
)
|
437 |
)
|
vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-feedback-factory.php
CHANGED
@@ -21,7 +21,7 @@ if ( ! class_exists( 'ThemeIsle_SDK_Feedback_Factory' ) ) :
|
|
21 |
/**
|
22 |
* @var array $instances collection of the instances that are registered with the factory
|
23 |
*/
|
24 |
-
private $_instances
|
25 |
|
26 |
/**
|
27 |
* ThemeIsle_SDK_Feedback_Factory constructor.
|
@@ -32,8 +32,8 @@ if ( ! class_exists( 'ThemeIsle_SDK_Feedback_Factory' ) ) :
|
|
32 |
public function __construct( $product_object, $feedback_types ) {
|
33 |
if ( $product_object instanceof ThemeIsle_SDK_Product && $feedback_types && is_array( $feedback_types ) ) {
|
34 |
foreach ( $feedback_types as $type ) {
|
35 |
-
$class
|
36 |
-
$instance
|
37 |
$this->_instances[ $type ] = $instance;
|
38 |
$instance->setup_hooks();
|
39 |
}
|
21 |
/**
|
22 |
* @var array $instances collection of the instances that are registered with the factory
|
23 |
*/
|
24 |
+
private $_instances = array();
|
25 |
|
26 |
/**
|
27 |
* ThemeIsle_SDK_Feedback_Factory constructor.
|
32 |
public function __construct( $product_object, $feedback_types ) {
|
33 |
if ( $product_object instanceof ThemeIsle_SDK_Product && $feedback_types && is_array( $feedback_types ) ) {
|
34 |
foreach ( $feedback_types as $type ) {
|
35 |
+
$class = 'ThemeIsle_SDK_Feedback_' . ucwords( $type );
|
36 |
+
$instance = new $class( $product_object );
|
37 |
$this->_instances[ $type ] = $instance;
|
38 |
$instance->setup_hooks();
|
39 |
}
|
vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-feedback-translate.php
CHANGED
@@ -789,18 +789,20 @@ The process is easy, and you can join by following the link below!';
|
|
789 |
function can_notify() {
|
790 |
if ( ! $this->product->is_wordpress_available() ) {
|
791 |
$this->disable();
|
792 |
-
|
793 |
return false;
|
794 |
}
|
795 |
$show = get_option( $this->product->get_key() . '_translate_flag', 'yes' );
|
796 |
if ( 'no' === $show ) {
|
797 |
return false;
|
798 |
}
|
799 |
-
$lang = get_user_locale();
|
800 |
if ( 'en_US' === $lang ) {
|
801 |
return false;
|
802 |
}
|
803 |
$languages = $this->get_translations();
|
|
|
|
|
|
|
804 |
if ( ! isset( $languages['translations'] ) ) {
|
805 |
return false;
|
806 |
}
|
@@ -817,6 +819,21 @@ The process is easy, and you can join by following the link below!';
|
|
817 |
return true;
|
818 |
}
|
819 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
820 |
/**
|
821 |
* Shows the notification
|
822 |
*/
|
@@ -914,7 +931,7 @@ The process is easy, and you can join by following the link below!';
|
|
914 |
* @return void|string Html code of the notification.
|
915 |
*/
|
916 |
function get_html( $key ) {
|
917 |
-
$lang
|
918 |
$link = $this->get_locale_paths( $lang );
|
919 |
$heading = apply_filters( $this->product->get_key() . '_feedback_translate_heading', $this->heading );
|
920 |
$product = $this->product->get_friendly_name();
|
789 |
function can_notify() {
|
790 |
if ( ! $this->product->is_wordpress_available() ) {
|
791 |
$this->disable();
|
|
|
792 |
return false;
|
793 |
}
|
794 |
$show = get_option( $this->product->get_key() . '_translate_flag', 'yes' );
|
795 |
if ( 'no' === $show ) {
|
796 |
return false;
|
797 |
}
|
798 |
+
$lang = $this->get_user_locale();
|
799 |
if ( 'en_US' === $lang ) {
|
800 |
return false;
|
801 |
}
|
802 |
$languages = $this->get_translations();
|
803 |
+
if ( ! is_array( $languages ) ) {
|
804 |
+
return false;
|
805 |
+
}
|
806 |
if ( ! isset( $languages['translations'] ) ) {
|
807 |
return false;
|
808 |
}
|
819 |
return true;
|
820 |
}
|
821 |
|
822 |
+
/**
|
823 |
+
* Get the user's locale.
|
824 |
+
*/
|
825 |
+
private function get_user_locale() {
|
826 |
+
global $wp_version;
|
827 |
+
if ( version_compare( $wp_version, '4.7.0', '>=' ) ) {
|
828 |
+
return get_user_locale();
|
829 |
+
}
|
830 |
+
$user = wp_get_current_user();
|
831 |
+
if ( $user ) {
|
832 |
+
$locale = $user->locale;
|
833 |
+
}
|
834 |
+
return $locale ? $locale : get_locale();
|
835 |
+
}
|
836 |
+
|
837 |
/**
|
838 |
* Shows the notification
|
839 |
*/
|
931 |
* @return void|string Html code of the notification.
|
932 |
*/
|
933 |
function get_html( $key ) {
|
934 |
+
$lang = $this->get_user_locale();
|
935 |
$link = $this->get_locale_paths( $lang );
|
936 |
$heading = apply_filters( $this->product->get_key() . '_feedback_translate_heading', $this->heading );
|
937 |
$product = $this->product->get_friendly_name();
|
vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-feedback.php
CHANGED
@@ -34,7 +34,7 @@ if ( ! class_exists( 'ThemeIsle_SDK_Feedback' ) ) :
|
|
34 |
*/
|
35 |
public function __construct( $product_object ) {
|
36 |
if ( $product_object instanceof ThemeIsle_SDK_Product ) {
|
37 |
-
$this->product
|
38 |
}
|
39 |
$this->setup_hooks();
|
40 |
}
|
@@ -52,12 +52,12 @@ if ( ! class_exists( 'ThemeIsle_SDK_Feedback' ) ) :
|
|
52 |
* @param string $attributes The attributes of the post body.
|
53 |
*/
|
54 |
protected function call_api( $attributes ) {
|
55 |
-
$slug
|
56 |
$version = $this->product->get_version();
|
57 |
-
$attributes['slug']
|
58 |
$attributes['version'] = $version;
|
59 |
|
60 |
-
$response
|
61 |
$this->feedback_url, array(
|
62 |
'body' => $attributes,
|
63 |
)
|
@@ -70,8 +70,8 @@ if ( ! class_exists( 'ThemeIsle_SDK_Feedback' ) ) :
|
|
70 |
* @param array $options The options array.
|
71 |
*/
|
72 |
function randomize_options( $options ) {
|
73 |
-
$new
|
74 |
-
$keys
|
75 |
shuffle( $keys );
|
76 |
|
77 |
foreach ( $keys as $key ) {
|
34 |
*/
|
35 |
public function __construct( $product_object ) {
|
36 |
if ( $product_object instanceof ThemeIsle_SDK_Product ) {
|
37 |
+
$this->product = $product_object;
|
38 |
}
|
39 |
$this->setup_hooks();
|
40 |
}
|
52 |
* @param string $attributes The attributes of the post body.
|
53 |
*/
|
54 |
protected function call_api( $attributes ) {
|
55 |
+
$slug = $this->product->get_slug();
|
56 |
$version = $this->product->get_version();
|
57 |
+
$attributes['slug'] = $slug;
|
58 |
$attributes['version'] = $version;
|
59 |
|
60 |
+
$response = wp_remote_post(
|
61 |
$this->feedback_url, array(
|
62 |
'body' => $attributes,
|
63 |
)
|
70 |
* @param array $options The options array.
|
71 |
*/
|
72 |
function randomize_options( $options ) {
|
73 |
+
$new = array();
|
74 |
+
$keys = array_keys( $options );
|
75 |
shuffle( $keys );
|
76 |
|
77 |
foreach ( $keys as $key ) {
|
vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-rollback.php
CHANGED
@@ -195,7 +195,7 @@ if ( ! class_exists( 'ThemeIsle_SDK_Rollback' ) ) :
|
|
195 |
'package' => $rollback['url'],
|
196 |
);
|
197 |
|
198 |
-
$temp_object
|
199 |
$plugin_transient->response[ $plugin_folder . '/' . $plugin_file ] = $temp_object;
|
200 |
set_site_transient( 'update_plugins', $plugin_transient );
|
201 |
|
195 |
'package' => $rollback['url'],
|
196 |
);
|
197 |
|
198 |
+
$temp_object = (object) $temp_array;
|
199 |
$plugin_transient->response[ $plugin_folder . '/' . $plugin_file ] = $temp_object;
|
200 |
set_site_transient( 'update_plugins', $plugin_transient );
|
201 |
|
vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-widget.php
CHANGED
@@ -29,7 +29,7 @@ if ( ! class_exists( 'ThemeIsle_SDK_Widget' ) ) :
|
|
29 |
*/
|
30 |
public function __construct( $product_object ) {
|
31 |
if ( $product_object instanceof ThemeIsle_SDK_Product ) {
|
32 |
-
$this->product
|
33 |
}
|
34 |
$this->setup_hooks();
|
35 |
}
|
29 |
*/
|
30 |
public function __construct( $product_object ) {
|
31 |
if ( $product_object instanceof ThemeIsle_SDK_Product ) {
|
32 |
+
$this->product = $product_object;
|
33 |
}
|
34 |
$this->setup_hooks();
|
35 |
}
|
vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-widgets-factory.php
CHANGED
@@ -27,8 +27,8 @@ if ( ! class_exists( 'ThemeIsle_SDK_Widgets_Factory' ) ) :
|
|
27 |
public function __construct( $product_object, $widgets ) {
|
28 |
if ( $product_object instanceof ThemeIsle_SDK_Product && $widgets && is_array( $widgets ) ) {
|
29 |
foreach ( $widgets as $widget ) {
|
30 |
-
$class
|
31 |
-
$instance
|
32 |
$instance->setup_hooks();
|
33 |
}
|
34 |
}
|
27 |
public function __construct( $product_object, $widgets ) {
|
28 |
if ( $product_object instanceof ThemeIsle_SDK_Product && $widgets && is_array( $widgets ) ) {
|
29 |
foreach ( $widgets as $widget ) {
|
30 |
+
$class = 'ThemeIsle_SDK_Widget_' . str_replace( ' ', '_', ucwords( str_replace( '_', ' ', $widget ) ) );
|
31 |
+
$instance = new $class( $product_object );
|
32 |
$instance->setup_hooks();
|
33 |
}
|
34 |
}
|
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 ComposerAutoloaderInit2c02f86702e193e9234e805ca89726ca
|
|
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 ComposerAutoloaderInit2c02f86702e193e9234e805ca89726ca
|
|
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 ComposerAutoloaderInit715431a4486c2274dc1a3d8cb9376500
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInit715431a4486c2274dc1a3d8cb9376500', 'loadClassLoader'), true, true);
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit715431a4486c2274dc1a3d8cb9376500', '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 |
+
composerRequire715431a4486c2274dc1a3d8cb9376500($fileIdentifier, $file);
|
46 |
}
|
47 |
|
48 |
return $loader;
|
49 |
}
|
50 |
}
|
51 |
|
52 |
+
function composerRequire715431a4486c2274dc1a3d8cb9376500($fileIdentifier, $file)
|
53 |
{
|
54 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
55 |
require $file;
|
vendor/composer/autoload_real_52.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real_52.php generated by xrstf/composer-php52
|
4 |
|
5 |
-
class
|
6 |
private static $loader;
|
7 |
|
8 |
public static function loadClassLoader($class) {
|
@@ -19,9 +19,9 @@ class ComposerAutoloaderInitb87613f3526debd19666f950574691a6 {
|
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
-
spl_autoload_register(array('
|
23 |
self::$loader = $loader = new xrstf_Composer52_ClassLoader();
|
24 |
-
spl_autoload_unregister(array('
|
25 |
|
26 |
$vendorDir = dirname(dirname(__FILE__));
|
27 |
$baseDir = dirname($vendorDir);
|
2 |
|
3 |
// autoload_real_52.php generated by xrstf/composer-php52
|
4 |
|
5 |
+
class ComposerAutoloaderInit7834e6ad306641d049f3a4bade9cbd68 {
|
6 |
private static $loader;
|
7 |
|
8 |
public static function loadClassLoader($class) {
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInit7834e6ad306641d049f3a4bade9cbd68', 'loadClassLoader'), true /*, true */);
|
23 |
self::$loader = $loader = new xrstf_Composer52_ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit7834e6ad306641d049f3a4bade9cbd68', 'loadClassLoader'));
|
25 |
|
26 |
$vendorDir = dirname(dirname(__FILE__));
|
27 |
$baseDir = dirname($vendorDir);
|
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": "
|
10 |
},
|
11 |
"dist": {
|
12 |
"type": "zip",
|
13 |
-
"url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/
|
14 |
-
"reference": "
|
15 |
"shasum": ""
|
16 |
},
|
17 |
-
"time": "2017-11-
|
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": "a05ab89594381a935573300f0aafdae8c28cefe5"
|
10 |
},
|
11 |
"dist": {
|
12 |
"type": "zip",
|
13 |
+
"url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/a05ab89594381a935573300f0aafdae8c28cefe5",
|
14 |
+
"reference": "a05ab89594381a935573300f0aafdae8c28cefe5",
|
15 |
"shasum": ""
|
16 |
},
|
17 |
+
"time": "2017-11-13 10:52:46",
|
18 |
"type": "library",
|
19 |
"installation-source": "dist",
|
20 |
"autoload": {
|