AccessPress Twitter Feed – Twitter Feed for WordPress - Version 1.0.2

Version Description

  • Fixed fallback message for default shortcode and widget
Download this release

Release Info

Developer Access Keys
Plugin Icon 128x128 AccessPress Twitter Feed – Twitter Feed for WordPress
Version 1.0.2
Comparing to
See all releases

Code changes from version 1.0.1 to 1.0.2

accesspress-twitter-feed.php CHANGED
@@ -1,11 +1,10 @@
1
  <?php
2
-
3
  defined('ABSPATH') or die('No script kiddies please!');
4
  /**
5
  * Plugin Name: AccessPress Twitter Feed
6
  * Plugin URI: https://accesspressthemes.com/wordpress-plugins/accesspress-twitter-feed/
7
  * Description: A plugin to show your twitter feed in your site with various configurable settings
8
- * Version: 1.0.1
9
  * Author: AccessPress Themes
10
  * Author URI: http://accesspressthemes.com
11
  * Text Domain: ap-twitter-feed
@@ -25,7 +24,7 @@ if (!defined('APTF_CSS_DIR')) {
25
  define('APTF_CSS_DIR', plugin_dir_url(__FILE__) . 'css');
26
  }
27
  if (!defined('APTF_VERSION')) {
28
- define('APTF_VERSION', '1.0.1');
29
  }
30
 
31
  if (!defined('APTF_TD')) {
1
  <?php
 
2
  defined('ABSPATH') or die('No script kiddies please!');
3
  /**
4
  * Plugin Name: AccessPress Twitter Feed
5
  * Plugin URI: https://accesspressthemes.com/wordpress-plugins/accesspress-twitter-feed/
6
  * Description: A plugin to show your twitter feed in your site with various configurable settings
7
+ * Version: 1.0.2
8
  * Author: AccessPress Themes
9
  * Author URI: http://accesspressthemes.com
10
  * Text Domain: ap-twitter-feed
24
  define('APTF_CSS_DIR', plugin_dir_url(__FILE__) . 'css');
25
  }
26
  if (!defined('APTF_VERSION')) {
27
+ define('APTF_VERSION', '1.0.2');
28
  }
29
 
30
  if (!defined('APTF_TD')) {
inc/frontend/shortcode.php CHANGED
@@ -16,8 +16,9 @@ if(isset($atts['follow_button'])){
16
 
17
  }
18
  if(isset($tweets['error'])){
 
19
  ?>
20
- <p><?php _e('Something went wrong with the twitter.',APTF_TD);?></p>
21
  <?php
22
  }
23
  else
16
 
17
  }
18
  if(isset($tweets['error'])){
19
+ $fallback_message = ($aptf_settings['fallback_message']=='')?__('Something went wrong with the twitter.',APTF_TD):$aptf_settings['fallback_message'];
20
  ?>
21
+ <p><?php echo $fallback_message;?></p>
22
  <?php
23
  }
24
  else
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: twitter, twitter feeds, twitter slider, twitter feeds slider, twitter plug
4
  Donate link: http://accesspressthemes.com/donation/
5
  Requires at least: 3.8
6
  Tested up to: 4.1
7
- Stable tag: 1.0.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -83,6 +83,9 @@ Once you install the plugin , you can check some general documentation about how
83
 
84
 
85
  == Changelog ==
 
 
 
86
  = 1.0.1 =
87
  * Fixed small css for follow button
88
 
4
  Donate link: http://accesspressthemes.com/donation/
5
  Requires at least: 3.8
6
  Tested up to: 4.1
7
+ Stable tag: 1.0.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
83
 
84
 
85
  == Changelog ==
86
+ = 1.0.2 =
87
+ * Fixed fallback message for default shortcode and widget
88
+
89
  = 1.0.1 =
90
  * Fixed small css for follow button
91