Feed Them Social – Facebook, Instagram, Twitter, YouTube, Pinterest - Version 2.5.6

Version Description

Download this release

Release Info

Developer slickremix
Plugin Icon 128x128 Feed Them Social – Facebook, Instagram, Twitter, YouTube, Pinterest
Version 2.5.6
Comparing to
See all releases

Code changes from version 2.5.5 to 2.5.6

admin/class-fts-settings-page-options.php CHANGED
@@ -63,11 +63,11 @@ class FTS_Settings_Page_Options {
63
  ),
64
  ),
65
  'premium_msg_boxes' => array(
66
- 'main_select' => [
67
  'req_plugin' => 'combine_streams',
68
  'msg' => 'With this extension you can mix a Facebook, Instagram, Twitter, Youtube and Pinterest posts all in one feed. The other feature this exentsion gives you is the abillity to mix multiple Facebook accounts into one feed!
69
  <a href="https://feedthemsocial.com/feed-them-social-combined-streams/" target="_blank">View Combined Streams Demo</a> . <a href="https://feedthemsocial.com/feed-them-social-combined-streams/#combined-fb-streams" target="_blank">View Combined Facebook Streams Demo</a>',
70
- ],
71
  ),
72
  'short_attr_final' => 'yes',
73
 
63
  ),
64
  ),
65
  'premium_msg_boxes' => array(
66
+ 'main_select' => array(
67
  'req_plugin' => 'combine_streams',
68
  'msg' => 'With this extension you can mix a Facebook, Instagram, Twitter, Youtube and Pinterest posts all in one feed. The other feature this exentsion gives you is the abillity to mix multiple Facebook accounts into one feed!
69
  <a href="https://feedthemsocial.com/feed-them-social-combined-streams/" target="_blank">View Combined Streams Demo</a> . <a href="https://feedthemsocial.com/feed-them-social-combined-streams/#combined-fb-streams" target="_blank">View Combined Facebook Streams Demo</a>',
70
+ )
71
  ),
72
  'short_attr_final' => 'yes',
73
 
admin/class-fts-twitter-options-page.php CHANGED
@@ -144,7 +144,7 @@ class FTS_Twitter_Options_Page {
144
 
145
  <div class="fts-twitter-add-all-keys-click-option">
146
  <label for="fts-custom-tokens-twitter">
147
- <input type="checkbox" id="fts-custom-tokens-twitter" name="fts_twitter_custom_tokens" value="1" <?php echo checked( '1', empty( trim( $extra_keys ) ) ); ?>> <?php echo esc_html( 'Add your own tokens?', 'feed-them-social' ); ?>
148
  </label>
149
  </div>
150
 
144
 
145
  <div class="fts-twitter-add-all-keys-click-option">
146
  <label for="fts-custom-tokens-twitter">
147
+ <input type="checkbox" id="fts-custom-tokens-twitter" name="fts_twitter_custom_tokens" value="1" <?php echo checked('1', '' === $extra_keys); ?>> <?php echo esc_html( 'Add your own tokens?', 'feed-them-social' ); ?>
148
  </label>
149
  </div>
150
 
admin/class-fts-youtube-options-page.php CHANGED
@@ -102,7 +102,7 @@ class FTS_Youtube_Options_Page {
102
  <div class="feed-them-social-admin-input-wrap" style="margin-bottom:0;">
103
 
104
  <?php
105
- $extra_keys = empty( get_option( 'youtube_custom_api_token' ) ) ? 'display:none' : '';
106
  $extra_keys_no = get_option( 'youtube_custom_api_token' );
107
  if ( ! empty( $extra_keys_no ) ) {
108
  $extra_keys_no = 'display:none';
102
  <div class="feed-them-social-admin-input-wrap" style="margin-bottom:0;">
103
 
104
  <?php
105
+ $extra_keys = '' === get_option( 'youtube_custom_api_token' ) ? 'display:none' : '';
106
  $extra_keys_no = get_option( 'youtube_custom_api_token' );
107
  if ( ! empty( $extra_keys_no ) ) {
108
  $extra_keys_no = 'display:none';
feed-them.php CHANGED
@@ -7,18 +7,18 @@
7
  * Plugin Name: Feed Them Social (Facebook, Instagram, Twitter, etc)
8
  * Plugin URI: https://feedthemsocial.com/
9
  * Description: Customize feeds for Facebook Pages, Album Photos, Videos & Covers, Instagram, Twitter, Pinterest & YouTube on pages, posts or widgets.
10
- * Version: 2.5.5
11
  * Author: SlickRemix
12
  * Author URI: https://www.slickremix.com/
13
  * Text Domain: feed-them-social
14
  * Domain Path: /languages
15
  * Requires at least: WordPress 4.0.0
16
  * Tested up to: WordPress 4.9.8
17
- * Stable tag: 2.5.5
18
  * License: GPLv2 or later
19
  * License URI: https://www.gnu.org/licenses/gpl-3.0.html
20
  *
21
- * @version 2.5.5
22
  * @package FeedThemSocial/Core
23
  * @copyright Copyright (c) 2012-2018 SlickRemix
24
  *
@@ -31,7 +31,7 @@
31
  *
32
  * Makes sure any js or css changes are reloaded properly. Added to enqued css and js files throughout!
33
  */
34
- define( 'FTS_CURRENT_VERSION', '2.5.5' );
35
 
36
  /**
37
  * Class Feed_Them_Social
7
  * Plugin Name: Feed Them Social (Facebook, Instagram, Twitter, etc)
8
  * Plugin URI: https://feedthemsocial.com/
9
  * Description: Customize feeds for Facebook Pages, Album Photos, Videos & Covers, Instagram, Twitter, Pinterest & YouTube on pages, posts or widgets.
10
+ * Version: 2.5.6
11
  * Author: SlickRemix
12
  * Author URI: https://www.slickremix.com/
13
  * Text Domain: feed-them-social
14
  * Domain Path: /languages
15
  * Requires at least: WordPress 4.0.0
16
  * Tested up to: WordPress 4.9.8
17
+ * Stable tag: 2.5.6
18
  * License: GPLv2 or later
19
  * License URI: https://www.gnu.org/licenses/gpl-3.0.html
20
  *
21
+ * @version 2.5.6
22
  * @package FeedThemSocial/Core
23
  * @copyright Copyright (c) 2012-2018 SlickRemix
24
  *
31
  *
32
  * Makes sure any js or css changes are reloaded properly. Added to enqued css and js files throughout!
33
  */
34
+ define( 'FTS_CURRENT_VERSION', '2.5.6' );
35
 
36
  /**
37
  * Class Feed_Them_Social
feeds/facebook/class-fts-facebook-feed.php CHANGED
@@ -274,7 +274,6 @@ class FTS_Facebook_Feed extends feed_them_social_functions {
274
  }
275
 
276
  ob_start();
277
-
278
  // Uncomment these for testing purposes to see the actual count and the offset count
279
  // print $set_zero;
280
  // print $fb_shortcode['posts'];
274
  }
275
 
276
  ob_start();
 
277
  // Uncomment these for testing purposes to see the actual count and the offset count
278
  // print $set_zero;
279
  // print $fb_shortcode['posts'];
feeds/youtube/class-youtube-feed-free.php CHANGED
@@ -218,7 +218,7 @@ class FTS_Youtube_Feed_Free extends feed_them_social_functions {
218
 
219
  $kind = isset( $post_data->id->kind ) ? $post_data->id->kind : '';
220
  // This is the method to skip empty posts or posts that are simply about changing settings or other non important post types.
221
- // We will count all the ones that are like this and add that number to the output of posts to offset the posts we are filtering out. Line 278 needs the same treatment of if options.
222
  if ( 'youtube#playlist' === $kind ) {
223
  $set_zero++;
224
  }
218
 
219
  $kind = isset( $post_data->id->kind ) ? $post_data->id->kind : '';
220
  // This is the method to skip empty posts or posts that are simply about changing settings or other non important post types.
221
+ // We will count all the ones that are like this and add that number to the output of posts to offset the posts we are filtering out. Line 319 needs the same treatment of if options.
222
  if ( 'youtube#playlist' === $kind ) {
223
  $set_zero++;
224
  }
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: slickremix
3
  Tags: Facebook, Instagram, Twitter, YouTube, Feed
4
  Requires at least: 3.6.0
5
  Tested up to: 4.9.8
6
- Stable tag: 2.5.5
7
  License: GPLv2 or later
8
 
9
  Custom feeds for Facebook Pages, Album Photos, Videos & Covers, Instagram, Twitter, Pinterest & YouTube on pages, posts or widgets.
@@ -76,6 +76,9 @@ Feed Them Social was Developed By SlickRemix --> [https://www.slickremix.com/](h
76
  * Log into WordPress dashboard then click **Plugins** > **Add new** > Then under the title "Install Plugins" click **Upload** > **choose the zip** > **Activate the plugin!**
77
 
78
  == Changelog ==
 
 
 
79
  = Version 2.5.5 Thursday, October 11th, 2018 =
80
  * FIX: Twitter Feed: The post count is proper now.
81
  * FIX: Scrolling Feeds missing height option.
3
  Tags: Facebook, Instagram, Twitter, YouTube, Feed
4
  Requires at least: 3.6.0
5
  Tested up to: 4.9.8
6
+ Stable tag: 2.5.6
7
  License: GPLv2 or later
8
 
9
  Custom feeds for Facebook Pages, Album Photos, Videos & Covers, Instagram, Twitter, Pinterest & YouTube on pages, posts or widgets.
76
  * Log into WordPress dashboard then click **Plugins** > **Add new** > Then under the title "Install Plugins" click **Upload** > **choose the zip** > **Activate the plugin!**
77
 
78
  == Changelog ==
79
+ = Version 2.5.6 Friday, October 12th, 2018 =
80
+ * FIX: Fatal error for servers running less than php 5.6.
81
+
82
  = Version 2.5.5 Thursday, October 11th, 2018 =
83
  * FIX: Twitter Feed: The post count is proper now.
84
  * FIX: Scrolling Feeds missing height option.