Instagram Feed - Version 1.3.6

Version Description

  • Fix: Fixed an issue introduced in version 1.3.4 which was causing theme settings to not be applied in some themes
Download this release

Release Info

Developer smashballoon
Plugin Icon 128x128 Instagram Feed
Version 1.3.6
Comparing to
See all releases

Code changes from version 1.3.5 to 1.3.6

Files changed (3) hide show
  1. README.txt +4 -1
  2. instagram-feed-admin.php +0 -16
  3. instagram-feed.php +2 -10
README.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: smashballoon
3
Tags: Instagram, Instagram feed, Instagram photos, Instagram plugin, Instagram stream, Custom Instagram Feed, responsive Instagram, mobile Instagram, Instagram posts, Instagram wall, Instagram account
4
Requires at least: 3.0
5
Tested up to: 4.1
6
- Stable tag: 1.3.5
7
License: GPLv2 or later
8
License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
@@ -186,6 +186,9 @@ For more FAQs related to the Instagram Feed plugin please visit the [FAQ section
186
7. The Instagram Feed plugin Settings pages
187
188
== Changelog ==
189
= 1.3.5 =
190
* Fix: Reverted the 'prop' function introduced in the last update back to 'attr' as prop isn't supported in older versions of jQuery
191
* Fix: Removed the image load function as it was causing images not to be displayed for some users
3
Tags: Instagram, Instagram feed, Instagram photos, Instagram plugin, Instagram stream, Custom Instagram Feed, responsive Instagram, mobile Instagram, Instagram posts, Instagram wall, Instagram account
4
Requires at least: 3.0
5
Tested up to: 4.1
6
+ Stable tag: 1.3.6
7
License: GPLv2 or later
8
License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
186
7. The Instagram Feed plugin Settings pages
187
188
== Changelog ==
189
+ = 1.3.6 =
190
+ * Fix: Fixed an issue introduced in version 1.3.4 which was causing theme settings to not be applied in some themes
191
+
192
= 1.3.5 =
193
* Fix: Reverted the 'prop' function introduced in the last update back to 'attr' as prop isn't supported in older versions of jQuery
194
* Fix: Removed the image load function as it was causing images not to be displayed for some users
instagram-feed-admin.php CHANGED
@@ -59,7 +59,6 @@ function sb_instagram_settings_page() {
59
//Misc
60
'sb_instagram_custom_css' => '',
61
'sb_instagram_custom_js' => '',
62
- 'sb_instagram_disable_error_reporting' => false,
63
);
64
//Save defaults in an array
65
$options = wp_parse_args(get_option('sb_instagram_settings'), $sb_instagram_settings_defaults);
@@ -97,7 +96,6 @@ function sb_instagram_settings_page() {
97
//Misc
98
$sb_instagram_custom_css = $options[ 'sb_instagram_custom_css' ];
99
$sb_instagram_custom_js = $options[ 'sb_instagram_custom_js' ];
100
- $sb_instagram_disable_error_reporting = $options[ 'sb_instagram_disable_error_reporting' ];
101
102
// See if the user has posted us some information. If they did, this hidden field will be set to 'Y'.
103
if( isset($_POST[ $sb_instagram_settings_hidden_field ]) && $_POST[ $sb_instagram_settings_hidden_field ] == 'Y' ) {
@@ -143,7 +141,6 @@ function sb_instagram_settings_page() {
143
//Misc
144
$sb_instagram_custom_css = $_POST[ 'sb_instagram_custom_css' ];
145
$sb_instagram_custom_js = $_POST[ 'sb_instagram_custom_js' ];
146
- (isset($_POST[ 'sb_instagram_disable_error_reporting' ])) ? $sb_instagram_disable_error_reporting = $_POST[ 'sb_instagram_disable_error_reporting' ] : $sb_instagram_disable_error_reporting = '';
147
148
149
$options[ 'sb_instagram_width' ] = $sb_instagram_width;
@@ -173,7 +170,6 @@ function sb_instagram_settings_page() {
173
//Misc
174
$options[ 'sb_instagram_custom_css' ] = $sb_instagram_custom_css;
175
$options[ 'sb_instagram_custom_js' ] = $sb_instagram_custom_js;
176
- $options[ 'sb_instagram_disable_error_reporting' ] = $sb_instagram_disable_error_reporting;
177
178
} //End customize tab post
179
@@ -553,18 +549,6 @@ function sb_instagram_settings_page() {
553
</tr>
554
</tbody>
555
</table>
556
- <table class="form-table">
557
- <tbody>
558
- <tr valign="top">
559
- <th class="bump-left"><label for="sb_instagram_disable_error_reporting" class="bump-left"><?php _e("Disable WordPress Debug"); ?></label></th>
560
- <td>
561
- <input name="sb_instagram_disable_error_reporting" type="checkbox" id="sb_instagram_disable_error_reporting" <?php if($sb_instagram_disable_error_reporting == true) echo "checked"; ?> />
562
- <label for="sb_instagram_disable_error_reporting"><?php _e('Yes'); ?></label>
563
- <i style="color: #666; font-size: 11px; margin-left: 5px;"><?php _e('Not recommended'); ?></i>
564
- </td>
565
- </tr>
566
- </tbody>
567
- </table>
568
569
<?php submit_button(); ?>
570
59
//Misc
60
'sb_instagram_custom_css' => '',
61
'sb_instagram_custom_js' => '',
62
);
63
//Save defaults in an array
64
$options = wp_parse_args(get_option('sb_instagram_settings'), $sb_instagram_settings_defaults);
96
//Misc
97
$sb_instagram_custom_css = $options[ 'sb_instagram_custom_css' ];
98
$sb_instagram_custom_js = $options[ 'sb_instagram_custom_js' ];
99
100
// See if the user has posted us some information. If they did, this hidden field will be set to 'Y'.
101
if( isset($_POST[ $sb_instagram_settings_hidden_field ]) && $_POST[ $sb_instagram_settings_hidden_field ] == 'Y' ) {
141
//Misc
142
$sb_instagram_custom_css = $_POST[ 'sb_instagram_custom_css' ];
143
$sb_instagram_custom_js = $_POST[ 'sb_instagram_custom_js' ];
144
145
146
$options[ 'sb_instagram_width' ] = $sb_instagram_width;
170
//Misc
171
$options[ 'sb_instagram_custom_css' ] = $sb_instagram_custom_css;
172
$options[ 'sb_instagram_custom_js' ] = $sb_instagram_custom_js;
173
174
} //End customize tab post
175
549
</tr>
550
</tbody>
551
</table>
552
553
<?php submit_button(); ?>
554
instagram-feed.php CHANGED
@@ -3,7 +3,7 @@
3
Plugin Name: Instagram Feed
4
Plugin URI: http://smashballoon.com/instagram-feed
5
Description: Display beautifully clean, customizable, and responsive Instagram feeds
6
- Version: 1.3.5
7
Author: Smash Balloon
8
Author URI: http://smashballoon.com/
9
License: GPLv2 or later
@@ -22,7 +22,7 @@ along with this program; if not, write to the Free Software
22
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
23
*/
24
25
- define( 'SBIVER', '1.3.5' );
26
27
//Include admin
28
include dirname( __FILE__ ) .'/instagram-feed-admin.php';
@@ -304,12 +304,4 @@ function sb_instagram_uninstall()
304
}
305
register_uninstall_hook( __FILE__, 'sb_instagram_uninstall' );
306
307
-
308
- //Toggle PHP Error Reporting
309
- $options = get_option('sb_instagram_settings');
310
- isset($options[ 'sb_instagram_disable_error_reporting' ]) ? $sb_instagram_disable_error_reporting = $options[ 'sb_instagram_disable_error_reporting' ] : $sb_instagram_disable_error_reporting = true;
311
- if( $sb_instagram_disable_error_reporting ){
312
- error_reporting(0);
313
- }
314
-
315
?>
3
Plugin Name: Instagram Feed
4
Plugin URI: http://smashballoon.com/instagram-feed
5
Description: Display beautifully clean, customizable, and responsive Instagram feeds
6
+ Version: 1.3.6
7
Author: Smash Balloon
8
Author URI: http://smashballoon.com/
9
License: GPLv2 or later
22
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
23
*/
24
25
+ define( 'SBIVER', '1.3.6' );
26
27
//Include admin
28
include dirname( __FILE__ ) .'/instagram-feed-admin.php';
304
}
305
register_uninstall_hook( __FILE__, 'sb_instagram_uninstall' );
306
307
?>