Version Description
- Fix: Added a workaround for a Facebook API bug which sometimes displays a button in a post with the text "No Button".
- Fix: Added an additional check when formatting the post text for the share link to prevent potential issues.
- Fix: Fixed a typo in the "restrictedpage" shortcode option.
Download this release
Release Info
Developer | smashballoon |
Plugin | Custom Facebook Feed |
Version | 2.16.1 |
Comparing to | |
See all releases |
Code changes from version 2.16 to 2.16.1
- README.txt +6 -1
- custom-facebook-feed.php +5 -3
README.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: Facebook, Facebook feed, Facebook posts, Facebook group, Facebook page
|
|
4 |
Requires at least: 3.0
|
5 |
Requires PHP: 5.2
|
6 |
Tested up to: 5.5
|
7 |
-
Stable tag: 2.16
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -260,6 +260,11 @@ The most common reason for this is that an add-on or extension you have installe
|
|
260 |
9. It's super easy to display your Facebook feed in any page or post
|
261 |
|
262 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
263 |
= 2.16 =
|
264 |
* Important: Due to upcoming Facebook API changes on September 4, 2020, it will only be possible to display feeds from Facebook pages which you are an admin of. If a PPCA Error notice is displayed above your feed then this change will affect one or more of your feeds. For more information about this change, please [see here](https://smashballoon.com/facebook-api-changes-september-4-2020/).
|
265 |
* Tweak: Added the "pagetype" setting to the shortcode when clicking the "Add to another feed" button on the Settings page to ensure it's set correctly
|
4 |
Requires at least: 3.0
|
5 |
Requires PHP: 5.2
|
6 |
Tested up to: 5.5
|
7 |
+
Stable tag: 2.16.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
260 |
9. It's super easy to display your Facebook feed in any page or post
|
261 |
|
262 |
== Changelog ==
|
263 |
+
= 2.16.1 =
|
264 |
+
* Fix: Added a workaround for a Facebook API bug which sometimes displays a button in a post with the text "No Button".
|
265 |
+
* Fix: Added an additional check when formatting the post text for the share link to prevent potential issues.
|
266 |
+
* Fix: Fixed a typo in the "restrictedpage" shortcode option.
|
267 |
+
|
268 |
= 2.16 =
|
269 |
* Important: Due to upcoming Facebook API changes on September 4, 2020, it will only be possible to display feeds from Facebook pages which you are an admin of. If a PPCA Error notice is displayed above your feed then this change will affect one or more of your feeds. For more information about this change, please [see here](https://smashballoon.com/facebook-api-changes-september-4-2020/).
|
270 |
* Tweak: Added the "pagetype" setting to the shortcode when clicking the "Add to another feed" button on the Settings page to ensure it's set correctly
|
custom-facebook-feed.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Smash Balloon Custom Facebook Feed
|
4 |
Plugin URI: https://smashballoon.com/custom-facebook-feed
|
5 |
Description: Add completely customizable Facebook feeds to your WordPress site
|
6 |
-
Version: 2.16
|
7 |
Author: Smash Balloon
|
8 |
Author URI: http://smashballoon.com/
|
9 |
License: GPLv2 or later
|
@@ -24,7 +24,7 @@ along with this program; if not, write to the Free Software
|
|
24 |
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
25 |
*/
|
26 |
|
27 |
-
define('CFFVER', '2.16');
|
28 |
|
29 |
// Db version.
|
30 |
if ( ! defined( 'CFF_DBVERSION' ) ) {
|
@@ -2031,7 +2031,9 @@ function display_cff($atts) {
|
|
2031 |
}
|
2032 |
|
2033 |
isset($news->call_to_action->value->app_link) ? $cff_app_link = $news->call_to_action->value->app_link : $cff_app_link = '';
|
2034 |
-
|
|
|
|
|
2035 |
}
|
2036 |
|
2037 |
//LINK
|
3 |
Plugin Name: Smash Balloon Custom Facebook Feed
|
4 |
Plugin URI: https://smashballoon.com/custom-facebook-feed
|
5 |
Description: Add completely customizable Facebook feeds to your WordPress site
|
6 |
+
Version: 2.16.1
|
7 |
Author: Smash Balloon
|
8 |
Author URI: http://smashballoon.com/
|
9 |
License: GPLv2 or later
|
24 |
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
25 |
*/
|
26 |
|
27 |
+
define('CFFVER', '2.16.1');
|
28 |
|
29 |
// Db version.
|
30 |
if ( ! defined( 'CFF_DBVERSION' ) ) {
|
2031 |
}
|
2032 |
|
2033 |
isset($news->call_to_action->value->app_link) ? $cff_app_link = $news->call_to_action->value->app_link : $cff_app_link = '';
|
2034 |
+
|
2035 |
+
//Add the button to the post if the text isn't "NO_BUTTON"
|
2036 |
+
if( $cff_button_type != 'NO_BUTTON' ) $cff_post_text .= '<p class="cff-cta-link" '.$cff_title_styles.'><a href="'.$cff_cta_link.'" target="_blank" data-app-link="'.$cff_app_link.'" style="color: #'.$cff_posttext_link_color.';" '.$cff_nofollow_referrer.' >'.$cff_cta_button_text.'</a></p>';
|
2037 |
}
|
2038 |
|
2039 |
//LINK
|