Skip to content

Commit

Permalink
Merge pull request #56 from Codeinwp/fix_sdk
Browse files Browse the repository at this point in the history
Added new sdk logic.
Improved compatibility with the pro version.
  • Loading branch information
selul authored Jun 21, 2017
2 parents c93da20 + 827e6ca commit c55176d
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 5 deletions.
5 changes: 5 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@
"codeinwp/themeisle-sdk": "master",
"xrstf/composer-php52": "^1.0.20"
},
"autoload": {
"files": [
"vendor/codeinwp/themeisle-sdk/load.php"
]
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion css/feedzy-rss-feeds.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* feedzy-rss-feeds.css
* Feedzy RSS Feed
* Copyright: (c) 2016 Themeisle, themeisle.com
* Version: 3.1.6
* Version: 3.1.7
* Plugin Name: FEEDZY RSS Feeds
* Plugin URI: http://themeisle.com/plugins/feedzy-rss-feeds/
* Author: Themeisle
Expand Down
8 changes: 6 additions & 2 deletions feedzy-rss-feed.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* Plugin Name: Feedzy RSS Feeds Lite
* Plugin URI: https://themeisle.com/plugins/feedzy-rss-feeds-lite/
* Description: This is a short description of what the plugin does. It's displayed in the WordPress admin area.
* Version: 3.1.6
* Version: 3.1.7
* Author: Themeisle
* Author URI: http://themeisle.com
* License: GPL-2.0+
Expand Down Expand Up @@ -107,8 +107,12 @@ function run_feedzy_rss_feeds() {
$vendor_file = FEEDZY_ABSPATH . '/vendor/autoload_52.php';
if ( is_readable( $vendor_file ) ) {
require_once $vendor_file;
ThemeIsle_SDK_Loader::init_product( FEEDZY_BASEFILE );
}
add_filter( 'themeisle_sdk_products', function ( $products ) {
$products[] = FEEDZY_BASEFILE;

return $products;
} );
}

spl_autoload_register( 'feedzy_rss_feeds_autoload' );
Expand Down
2 changes: 1 addition & 1 deletion includes/feedzy-rss-feeds.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public static function instance() {
*/
public function init() {
self::$plugin_name = 'feedzy-rss-feeds';
self::$version = '3.1.6';
self::$version = '3.1.7';
self::$instance->load_dependencies();
self::$instance->set_locale();
self::$instance->define_admin_hooks();
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "feedzy-rss-feeds",
"version": "3.1.6",
"version": "3.1.7",
"description": "Feedzy RSS Feeds Lite",
"repository": {
"type": "git",
Expand Down

0 comments on commit c55176d

Please sign in to comment.