Version Description
- 2017-07-17
Download this release
Release Info
| Developer | codeinwp |
| Plugin | |
| Version | 3.1.8 |
| Comparing to | |
| See all releases | |
Code changes from version 3.1.7 to 3.1.8
- CHANGELOG.md +6 -0
- css/feedzy-rss-feeds.css +1 -1
- feedzy-rss-feed.php +2 -2
- includes/abstract/feedzy-rss-feeds-admin-abstract.php +45 -9
- includes/feedzy-rss-feeds.php +1 -1
- readme.txt +7 -0
- vendor/autoload.php +1 -1
- vendor/autoload_52.php +1 -1
- vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-licenser.php +1 -1
- vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-widget-dashboard-blog.php +32 -17
- vendor/codeinwp/themeisle-sdk/composer.json +5 -0
- vendor/codeinwp/themeisle-sdk/load.php +1 -1
- vendor/composer/autoload_files.php +1 -0
- vendor/composer/autoload_real.php +5 -5
- vendor/composer/autoload_real_52.php +4 -3
- vendor/composer/installed.json +12 -6
CHANGELOG.md
CHANGED
|
@@ -1,4 +1,10 @@
|
|
| 1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
### v3.1.7 - 2017-06-21
|
| 3 |
**Changes:**
|
| 4 |
* Added new sdk logic.
|
| 1 |
|
| 2 |
+
### v3.1.8 - 2017-07-17
|
| 3 |
+
**Changes:**
|
| 4 |
+
* Fixed image fetching issues.
|
| 5 |
+
* Fixed link opening behaviour
|
| 6 |
+
* Improved description ( Thanks to @chesio )
|
| 7 |
+
|
| 8 |
### v3.1.7 - 2017-06-21
|
| 9 |
**Changes:**
|
| 10 |
* Added new sdk logic.
|
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.1.
|
| 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.1.8
|
| 6 |
* Plugin Name: FEEDZY RSS Feeds
|
| 7 |
* Plugin URI: http://themeisle.com/plugins/feedzy-rss-feeds/
|
| 8 |
* Author: Themeisle
|
feedzy-rss-feed.php
CHANGED
|
@@ -14,8 +14,8 @@
|
|
| 14 |
* @wordpress-plugin
|
| 15 |
* Plugin Name: Feedzy RSS Feeds Lite
|
| 16 |
* Plugin URI: https://themeisle.com/plugins/feedzy-rss-feeds-lite/
|
| 17 |
-
* Description:
|
| 18 |
-
* Version: 3.1.
|
| 19 |
* Author: Themeisle
|
| 20 |
* Author URI: http://themeisle.com
|
| 21 |
* License: GPL-2.0+
|
| 14 |
* @wordpress-plugin
|
| 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.1.8
|
| 19 |
* Author: Themeisle
|
| 20 |
* Author URI: http://themeisle.com
|
| 21 |
* License: GPL-2.0+
|
includes/abstract/feedzy-rss-feeds-admin-abstract.php
CHANGED
|
@@ -283,17 +283,49 @@ abstract class Feedzy_Rss_Feeds_Admin_Abstract {
|
|
| 283 |
/**
|
| 284 |
* Validate feeds attribute.
|
| 285 |
*
|
| 286 |
-
* @
|
| 287 |
-
*
|
|
|
|
| 288 |
* @return mixed|void Urls of the feeds.
|
| 289 |
*/
|
| 290 |
public function normalize_urls( $raw ) {
|
| 291 |
$feeds = apply_filters( 'feedzy_process_feed_source', $raw );
|
| 292 |
$feedURL = apply_filters( 'feedzy_get_feed_url', $feeds );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 293 |
|
| 294 |
return $feedURL;
|
| 295 |
}
|
| 296 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 297 |
/**
|
| 298 |
* Fetch the content feed from a group of urls.
|
| 299 |
*
|
|
@@ -307,7 +339,7 @@ abstract class Feedzy_Rss_Feeds_Admin_Abstract {
|
|
| 307 |
require_once( ABSPATH . WPINC . '/feed.php' );
|
| 308 |
}
|
| 309 |
// Load SimplePie Instance
|
| 310 |
-
$feed = fetch_feed( $feedURL );
|
| 311 |
|
| 312 |
// Report error when is an error loading the feed
|
| 313 |
if ( is_wp_error( $feed ) ) {
|
|
@@ -317,11 +349,14 @@ abstract class Feedzy_Rss_Feeds_Admin_Abstract {
|
|
| 317 |
} else {
|
| 318 |
$feedURL = html_entity_decode( $feedURL );
|
| 319 |
}
|
| 320 |
-
$feed = fetch_feed( $feedURL );
|
| 321 |
if ( is_wp_error( $feed ) ) {
|
| 322 |
return __( 'An error occured for when trying to retrieve feeds! Check the URL\'s provided as feed sources.', 'feedzy-rss-feeds' );
|
| 323 |
}
|
| 324 |
}
|
|
|
|
|
|
|
|
|
|
| 325 |
return $feed;
|
| 326 |
}
|
| 327 |
|
|
@@ -495,7 +530,7 @@ abstract class Feedzy_Rss_Feeds_Admin_Abstract {
|
|
| 495 |
*
|
| 496 |
* @return array
|
| 497 |
*/
|
| 498 |
-
public function get_feed_array( $feed_items
|
| 499 |
$count = 0;
|
| 500 |
$items = apply_filters( 'feedzy_feed_items', $feed->get_items(), $feedURL );
|
| 501 |
foreach ( (array) $items as $item ) {
|
|
@@ -681,13 +716,13 @@ abstract class Feedzy_Rss_Feeds_Admin_Abstract {
|
|
| 681 |
if ( empty( $theThumbnail ) ) {
|
| 682 |
$feedDescription = $item->get_content();
|
| 683 |
$theThumbnail = $this->feedzy_return_image( $feedDescription );
|
| 684 |
-
|
| 685 |
}
|
| 686 |
// Description image
|
| 687 |
if ( empty( $theThumbnail ) ) {
|
| 688 |
$feedDescription = $item->get_description();
|
| 689 |
$theThumbnail = $this->feedzy_return_image( $feedDescription );
|
| 690 |
}
|
|
|
|
| 691 |
return $theThumbnail;
|
| 692 |
}
|
| 693 |
|
|
@@ -741,12 +776,13 @@ abstract class Feedzy_Rss_Feeds_Admin_Abstract {
|
|
| 741 |
*/
|
| 742 |
public function feedzy_scrape_image( $string, $link = '' ) {
|
| 743 |
$pattern = '/src=[\'"]?([^\'" >]+)[\'" >]/';
|
|
|
|
| 744 |
preg_match( $pattern, $string, $link );
|
| 745 |
-
if ( isset( $link[1] ) ) {
|
| 746 |
-
$
|
| 747 |
}
|
| 748 |
|
| 749 |
-
return $
|
| 750 |
}
|
| 751 |
|
| 752 |
/**
|
| 283 |
/**
|
| 284 |
* Validate feeds attribute.
|
| 285 |
*
|
| 286 |
+
* @since 3.0.0
|
| 287 |
+
* @updated 3.1.7 Take into account $feedURL as array from PRO version.
|
| 288 |
+
* @param string $raw Url or list of urls.
|
| 289 |
* @return mixed|void Urls of the feeds.
|
| 290 |
*/
|
| 291 |
public function normalize_urls( $raw ) {
|
| 292 |
$feeds = apply_filters( 'feedzy_process_feed_source', $raw );
|
| 293 |
$feedURL = apply_filters( 'feedzy_get_feed_url', $feeds );
|
| 294 |
+
if ( is_array( $feedURL ) ) {
|
| 295 |
+
foreach ( $feedURL as $index => $url ) {
|
| 296 |
+
$feedURL[ $index ] = htmlspecialchars_decode( $url );
|
| 297 |
+
}
|
| 298 |
+
} else {
|
| 299 |
+
$feedURL = htmlspecialchars_decode( $feedURL );
|
| 300 |
+
}
|
| 301 |
|
| 302 |
return $feedURL;
|
| 303 |
}
|
| 304 |
|
| 305 |
+
/**
|
| 306 |
+
* Method to avoid using core implementation in order
|
| 307 |
+
* order to fix issues reported here: https://core.trac.wordpress.org/ticket/41304
|
| 308 |
+
* Bug: #41304 with WP wp_kses sanitizer used by WP SimplePie implementation.
|
| 309 |
+
*
|
| 310 |
+
* NOTE: This is temporary should be removed as soon as #41304 is patched.
|
| 311 |
+
*
|
| 312 |
+
* @since 3.1.7
|
| 313 |
+
* @access private
|
| 314 |
+
* @param string $feedURL The feed URL.
|
| 315 |
+
* @return SimplePie
|
| 316 |
+
*/
|
| 317 |
+
private function init_feed( $feedURL ) {
|
| 318 |
+
$feed = new SimplePie();
|
| 319 |
+
$feed->set_cache_class( 'WP_Feed_Cache' );
|
| 320 |
+
$feed->set_file_class( 'WP_SimplePie_File' );
|
| 321 |
+
$feed->set_cache_duration( apply_filters( 'wp_feed_cache_transient_lifetime', 12 * HOUR_IN_SECONDS, $feedURL ) );
|
| 322 |
+
$feed->set_feed_url( $feedURL );
|
| 323 |
+
$feed->init();
|
| 324 |
+
$feed->handle_content_type();
|
| 325 |
+
|
| 326 |
+
return $feed;
|
| 327 |
+
}
|
| 328 |
+
|
| 329 |
/**
|
| 330 |
* Fetch the content feed from a group of urls.
|
| 331 |
*
|
| 339 |
require_once( ABSPATH . WPINC . '/feed.php' );
|
| 340 |
}
|
| 341 |
// Load SimplePie Instance
|
| 342 |
+
$feed = fetch_feed( $feedURL ); // Not used as log as #41304 is Opened.
|
| 343 |
|
| 344 |
// Report error when is an error loading the feed
|
| 345 |
if ( is_wp_error( $feed ) ) {
|
| 349 |
} else {
|
| 350 |
$feedURL = html_entity_decode( $feedURL );
|
| 351 |
}
|
| 352 |
+
$feed = fetch_feed( $feedURL ); // Not used as log as #41304 is Opened.
|
| 353 |
if ( is_wp_error( $feed ) ) {
|
| 354 |
return __( 'An error occured for when trying to retrieve feeds! Check the URL\'s provided as feed sources.', 'feedzy-rss-feeds' );
|
| 355 |
}
|
| 356 |
}
|
| 357 |
+
|
| 358 |
+
$feed = $this->init_feed( $feedURL ); // Added in 3.1.7 -- TODO: Remove this line when #41304 is fixed.
|
| 359 |
+
|
| 360 |
return $feed;
|
| 361 |
}
|
| 362 |
|
| 530 |
*
|
| 531 |
* @return array
|
| 532 |
*/
|
| 533 |
+
public function get_feed_array( $feed_items, $sc, $feed, $feedURL, $sizes ) {
|
| 534 |
$count = 0;
|
| 535 |
$items = apply_filters( 'feedzy_feed_items', $feed->get_items(), $feedURL );
|
| 536 |
foreach ( (array) $items as $item ) {
|
| 716 |
if ( empty( $theThumbnail ) ) {
|
| 717 |
$feedDescription = $item->get_content();
|
| 718 |
$theThumbnail = $this->feedzy_return_image( $feedDescription );
|
|
|
|
| 719 |
}
|
| 720 |
// Description image
|
| 721 |
if ( empty( $theThumbnail ) ) {
|
| 722 |
$feedDescription = $item->get_description();
|
| 723 |
$theThumbnail = $this->feedzy_return_image( $feedDescription );
|
| 724 |
}
|
| 725 |
+
|
| 726 |
return $theThumbnail;
|
| 727 |
}
|
| 728 |
|
| 776 |
*/
|
| 777 |
public function feedzy_scrape_image( $string, $link = '' ) {
|
| 778 |
$pattern = '/src=[\'"]?([^\'" >]+)[\'" >]/';
|
| 779 |
+
$match = $link;
|
| 780 |
preg_match( $pattern, $string, $link );
|
| 781 |
+
if ( ! empty( $link ) && isset( $link[1] ) ) {
|
| 782 |
+
$match = urldecode( $link[1] );
|
| 783 |
}
|
| 784 |
|
| 785 |
+
return $match;
|
| 786 |
}
|
| 787 |
|
| 788 |
/**
|
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.1.
|
| 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.1.8';
|
| 108 |
self::$instance->load_dependencies();
|
| 109 |
self::$instance->set_locale();
|
| 110 |
self::$instance->define_admin_hooks();
|
readme.txt
CHANGED
|
@@ -205,6 +205,13 @@ http://docs.themeisle.com/article/640-how-to-use-feedzy-categories
|
|
| 205 |
|
| 206 |
|
| 207 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 208 |
= 3.1.7 =
|
| 209 |
|
| 210 |
* Added new sdk logic.
|
| 205 |
|
| 206 |
|
| 207 |
== Changelog ==
|
| 208 |
+
= 3.1.8 - 2017-07-17 =
|
| 209 |
+
|
| 210 |
+
* Fixed image fetching issues.
|
| 211 |
+
* Fixed link opening behaviour
|
| 212 |
+
* Improved description ( Thanks to @chesio )
|
| 213 |
+
|
| 214 |
+
|
| 215 |
= 3.1.7 =
|
| 216 |
|
| 217 |
* Added new sdk logic.
|
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 ComposerAutoloaderInit5715dec90aed4b8a2bc04d8e80051751::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 ComposerAutoloaderInitc8a526cba70678f55f89ed685cf72161::getLoader();
|
vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-licenser.php
CHANGED
|
@@ -258,7 +258,7 @@ if ( ! class_exists( 'ThemeIsle_SDK_Licenser' ) ) :
|
|
| 258 |
<?php if ( $this->check_hide( 'valid' ) ) : ?>
|
| 259 |
<div class="error">
|
| 260 |
<p>
|
| 261 |
-
<strong><?php echo sprintf( $no_valid_string, $this->product->get_name() . ' ' . $this->product->get_type(), $this->product->
|
| 262 |
<a
|
| 263 |
href="<?php echo add_query_arg( $this->product->get_key() . '_hide_valid', 'yes' ); ?> "><?php echo $hide_notice_string; ?></a>
|
| 264 |
</p>
|
| 258 |
<?php if ( $this->check_hide( 'valid' ) ) : ?>
|
| 259 |
<div class="error">
|
| 260 |
<p>
|
| 261 |
+
<strong><?php echo sprintf( $no_valid_string, $this->product->get_name() . ' ' . $this->product->get_type(), $this->product->get_store_url(), admin_url( 'options-general.php' ) . '#' . $this->product->get_key() ); ?> </strong>|
|
| 262 |
<a
|
| 263 |
href="<?php echo add_query_arg( $this->product->get_key() . '_hide_valid', 'yes' ); ?> "><?php echo $hide_notice_string; ?></a>
|
| 264 |
</p>
|
vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-widget-dashboard-blog.php
CHANGED
|
@@ -22,6 +22,10 @@ if ( ! class_exists( 'ThemeIsle_SDK_Widget_Dashboard_Blog' ) ) :
|
|
| 22 |
* @var array instance The instances.
|
| 23 |
*/
|
| 24 |
protected $product;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
|
| 26 |
/**
|
| 27 |
* ThemeIsle_SDK_Widget_Dashboard_Blog constructor.
|
|
@@ -63,31 +67,43 @@ if ( ! class_exists( 'ThemeIsle_SDK_Widget_Dashboard_Blog' ) ) :
|
|
| 63 |
if ( isset( $wp_meta_boxes['dashboard']['normal']['core']['themeisle'] ) ) {
|
| 64 |
return;
|
| 65 |
}
|
| 66 |
-
// Load SimplePie Instance
|
| 67 |
-
$feed = fetch_feed( $this->feeds );
|
| 68 |
-
// TODO report error when is an error loading the feed
|
| 69 |
-
if ( is_wp_error( $feed ) ) {
|
| 70 |
-
return '';
|
| 71 |
-
}
|
| 72 |
-
|
| 73 |
-
$items = $feed->get_items( 0, 5 );
|
| 74 |
-
foreach ( (array) $items as $item ) {
|
| 75 |
-
$this->items[] = array(
|
| 76 |
-
'title' => $item->get_title(),
|
| 77 |
-
'date' => $item->get_date( 'U' ),
|
| 78 |
-
'link' => $item->get_permalink(),
|
| 79 |
-
);
|
| 80 |
-
}
|
| 81 |
wp_add_dashboard_widget( 'themeisle', $this->dashboard_name, array(
|
| 82 |
&$this,
|
| 83 |
'render_dashboard_widget',
|
| 84 |
) );
|
| 85 |
}
|
| 86 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 87 |
/**
|
| 88 |
* Render widget content
|
| 89 |
*/
|
| 90 |
function render_dashboard_widget() {
|
|
|
|
| 91 |
?>
|
| 92 |
<style type="text/css">
|
| 93 |
#themeisle ul {
|
|
@@ -146,7 +162,6 @@ if ( ! class_exists( 'ThemeIsle_SDK_Widget_Dashboard_Blog' ) ) :
|
|
| 146 |
text-align: center;
|
| 147 |
}
|
| 148 |
|
| 149 |
-
|
| 150 |
.ti-dw-recommend-item span {
|
| 151 |
color: #72777c;
|
| 152 |
}
|
|
@@ -194,7 +209,7 @@ if ( ! class_exists( 'ThemeIsle_SDK_Widget_Dashboard_Blog' ) ) :
|
|
| 194 |
'Lite',
|
| 195 |
), '', $recommend['name'] ) ); ?>
|
| 196 |
(<a class="thickbox open-plugin-details-modal"
|
| 197 |
-
|
| 198 |
</li>
|
| 199 |
|
| 200 |
<?php
|
| 22 |
* @var array instance The instances.
|
| 23 |
*/
|
| 24 |
protected $product;
|
| 25 |
+
/**
|
| 26 |
+
* @var array Feed items.
|
| 27 |
+
*/
|
| 28 |
+
private $items = array();
|
| 29 |
|
| 30 |
/**
|
| 31 |
* ThemeIsle_SDK_Widget_Dashboard_Blog constructor.
|
| 67 |
if ( isset( $wp_meta_boxes['dashboard']['normal']['core']['themeisle'] ) ) {
|
| 68 |
return;
|
| 69 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 70 |
wp_add_dashboard_widget( 'themeisle', $this->dashboard_name, array(
|
| 71 |
&$this,
|
| 72 |
'render_dashboard_widget',
|
| 73 |
) );
|
| 74 |
}
|
| 75 |
|
| 76 |
+
/**
|
| 77 |
+
* Setup feed items.
|
| 78 |
+
*/
|
| 79 |
+
private function setup_feeds() {
|
| 80 |
+
$items_normalized = array();
|
| 81 |
+
if ( false === ( $items_normalized = get_transient( 'themeisle_sdk_feed_items' ) ) ) {
|
| 82 |
+
// Load SimplePie Instance
|
| 83 |
+
$feed = fetch_feed( $this->feeds );
|
| 84 |
+
// TODO report error when is an error loading the feed
|
| 85 |
+
if ( is_wp_error( $feed ) ) {
|
| 86 |
+
return;
|
| 87 |
+
}
|
| 88 |
+
|
| 89 |
+
$items = $feed->get_items( 0, 5 );
|
| 90 |
+
foreach ( (array) $items as $item ) {
|
| 91 |
+
$items_normalized[] = array(
|
| 92 |
+
'title' => $item->get_title(),
|
| 93 |
+
'date' => $item->get_date( 'U' ),
|
| 94 |
+
'link' => $item->get_permalink(),
|
| 95 |
+
);
|
| 96 |
+
}
|
| 97 |
+
set_transient( 'themeisle_sdk_feed_items', $items_normalized, 48 * HOUR_IN_SECONDS );
|
| 98 |
+
}
|
| 99 |
+
$this->items = $items_normalized;
|
| 100 |
+
}
|
| 101 |
+
|
| 102 |
/**
|
| 103 |
* Render widget content
|
| 104 |
*/
|
| 105 |
function render_dashboard_widget() {
|
| 106 |
+
$this->setup_feeds();
|
| 107 |
?>
|
| 108 |
<style type="text/css">
|
| 109 |
#themeisle ul {
|
| 162 |
text-align: center;
|
| 163 |
}
|
| 164 |
|
|
|
|
| 165 |
.ti-dw-recommend-item span {
|
| 166 |
color: #72777c;
|
| 167 |
}
|
| 209 |
'Lite',
|
| 210 |
), '', $recommend['name'] ) ); ?>
|
| 211 |
(<a class="thickbox open-plugin-details-modal"
|
| 212 |
+
href="<?php echo $url . '&TB_iframe=true&width=600&height=500'; ?>"><?php _e( 'Install' ); ?></a>)
|
| 213 |
</li>
|
| 214 |
|
| 215 |
<?php
|
vendor/codeinwp/themeisle-sdk/composer.json
CHANGED
|
@@ -13,6 +13,11 @@
|
|
| 13 |
"homepage": "https://themeisle.com"
|
| 14 |
}
|
| 15 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
"support": {
|
| 17 |
"issues": "https://github.com/Codeinwp/themeisle-sdk/issues"
|
| 18 |
}
|
| 13 |
"homepage": "https://themeisle.com"
|
| 14 |
}
|
| 15 |
],
|
| 16 |
+
"autoload": {
|
| 17 |
+
"files": [
|
| 18 |
+
"load.php"
|
| 19 |
+
]
|
| 20 |
+
},
|
| 21 |
"support": {
|
| 22 |
"issues": "https://github.com/Codeinwp/themeisle-sdk/issues"
|
| 23 |
}
|
vendor/codeinwp/themeisle-sdk/load.php
CHANGED
|
@@ -11,7 +11,7 @@
|
|
| 11 |
*/
|
| 12 |
|
| 13 |
// Current SDK version and path.
|
| 14 |
-
$themeisle_sdk_version = '1.
|
| 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 = '1.4.0';
|
| 15 |
$themeisle_sdk_path = dirname( __FILE__ );
|
| 16 |
|
| 17 |
global $themeisle_sdk_max_version;
|
vendor/composer/autoload_files.php
CHANGED
|
@@ -6,5 +6,6 @@ $vendorDir = dirname(dirname(__FILE__));
|
|
| 6 |
$baseDir = dirname($vendorDir);
|
| 7 |
|
| 8 |
return array(
|
|
|
|
| 9 |
'3df8ee254224091c21b9aebb792d2f8b' => $vendorDir . '/codeinwp/themeisle-sdk/load.php',
|
| 10 |
);
|
| 6 |
$baseDir = dirname($vendorDir);
|
| 7 |
|
| 8 |
return array(
|
| 9 |
+
'957c51f8f334b5ea3be310bfb8b3492c' => $vendorDir . '/codeinwp/themeisle-sdk/load.php',
|
| 10 |
'3df8ee254224091c21b9aebb792d2f8b' => $vendorDir . '/codeinwp/themeisle-sdk/load.php',
|
| 11 |
);
|
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 ComposerAutoloaderInitafcbafc262073611f93d4da2d44890c7
|
|
| 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 ComposerAutoloaderInitafcbafc262073611f93d4da2d44890c7
|
|
| 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 ComposerAutoloaderInit5715dec90aed4b8a2bc04d8e80051751
|
| 6 |
{
|
| 7 |
private static $loader;
|
| 8 |
|
| 19 |
return self::$loader;
|
| 20 |
}
|
| 21 |
|
| 22 |
+
spl_autoload_register(array('ComposerAutoloaderInit5715dec90aed4b8a2bc04d8e80051751', 'loadClassLoader'), true, true);
|
| 23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
| 24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit5715dec90aed4b8a2bc04d8e80051751', '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 |
+
composerRequire5715dec90aed4b8a2bc04d8e80051751($fileIdentifier, $file);
|
| 46 |
}
|
| 47 |
|
| 48 |
return $loader;
|
| 49 |
}
|
| 50 |
}
|
| 51 |
|
| 52 |
+
function composerRequire5715dec90aed4b8a2bc04d8e80051751($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 ComposerAutoloaderInitfb848037b4f3828a83e60b26fda57767 {
|
|
| 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);
|
|
@@ -39,6 +39,7 @@ class ComposerAutoloaderInitfb848037b4f3828a83e60b26fda57767 {
|
|
| 39 |
|
| 40 |
$loader->register(true);
|
| 41 |
|
|
|
|
| 42 |
require $vendorDir . '/codeinwp/themeisle-sdk/load.php';
|
| 43 |
|
| 44 |
return $loader;
|
| 2 |
|
| 3 |
// autoload_real_52.php generated by xrstf/composer-php52
|
| 4 |
|
| 5 |
+
class ComposerAutoloaderInitc8a526cba70678f55f89ed685cf72161 {
|
| 6 |
private static $loader;
|
| 7 |
|
| 8 |
public static function loadClassLoader($class) {
|
| 19 |
return self::$loader;
|
| 20 |
}
|
| 21 |
|
| 22 |
+
spl_autoload_register(array('ComposerAutoloaderInitc8a526cba70678f55f89ed685cf72161', 'loadClassLoader'), true /*, true */);
|
| 23 |
self::$loader = $loader = new xrstf_Composer52_ClassLoader();
|
| 24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInitc8a526cba70678f55f89ed685cf72161', 'loadClassLoader'));
|
| 25 |
|
| 26 |
$vendorDir = dirname(dirname(__FILE__));
|
| 27 |
$baseDir = dirname($vendorDir);
|
| 39 |
|
| 40 |
$loader->register(true);
|
| 41 |
|
| 42 |
+
require $vendorDir . '/codeinwp/themeisle-sdk/load.php';
|
| 43 |
require $vendorDir . '/codeinwp/themeisle-sdk/load.php';
|
| 44 |
|
| 45 |
return $loader;
|
vendor/composer/installed.json
CHANGED
|
@@ -38,18 +38,23 @@
|
|
| 38 |
"version_normalized": "9999999-dev",
|
| 39 |
"source": {
|
| 40 |
"type": "git",
|
| 41 |
-
"url": "
|
| 42 |
-
"reference": "
|
| 43 |
},
|
| 44 |
"dist": {
|
| 45 |
"type": "zip",
|
| 46 |
-
"url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/
|
| 47 |
-
"reference": "
|
| 48 |
"shasum": ""
|
| 49 |
},
|
| 50 |
-
"time": "2017-
|
| 51 |
"type": "library",
|
| 52 |
"installation-source": "dist",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 53 |
"license": [
|
| 54 |
"GPL-2.0+"
|
| 55 |
],
|
|
@@ -66,7 +71,8 @@
|
|
| 66 |
"wordpress"
|
| 67 |
],
|
| 68 |
"support": {
|
| 69 |
-
"issues": "https://github.com/Codeinwp/themeisle-sdk/issues"
|
|
|
|
| 70 |
}
|
| 71 |
}
|
| 72 |
]
|
| 38 |
"version_normalized": "9999999-dev",
|
| 39 |
"source": {
|
| 40 |
"type": "git",
|
| 41 |
+
"url": "https://github.com/Codeinwp/themeisle-sdk.git",
|
| 42 |
+
"reference": "ebbbe0398ef8ee9922d17704e1dd2e9114e53ccb"
|
| 43 |
},
|
| 44 |
"dist": {
|
| 45 |
"type": "zip",
|
| 46 |
+
"url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/ebbbe0398ef8ee9922d17704e1dd2e9114e53ccb",
|
| 47 |
+
"reference": "ebbbe0398ef8ee9922d17704e1dd2e9114e53ccb",
|
| 48 |
"shasum": ""
|
| 49 |
},
|
| 50 |
+
"time": "2017-07-04 13:54:14",
|
| 51 |
"type": "library",
|
| 52 |
"installation-source": "dist",
|
| 53 |
+
"autoload": {
|
| 54 |
+
"files": [
|
| 55 |
+
"load.php"
|
| 56 |
+
]
|
| 57 |
+
},
|
| 58 |
"license": [
|
| 59 |
"GPL-2.0+"
|
| 60 |
],
|
| 71 |
"wordpress"
|
| 72 |
],
|
| 73 |
"support": {
|
| 74 |
+
"issues": "https://github.com/Codeinwp/themeisle-sdk/issues",
|
| 75 |
+
"source": "https://github.com/Codeinwp/themeisle-sdk/tree/master"
|
| 76 |
}
|
| 77 |
}
|
| 78 |
]
|
