AccessPress Instagram Feed - Version 2.0.0

Version Description

  • Addition of the header_sent method checking in the plugin's main class for the session start.
Download this release

Release Info

Developer Access Keys
Plugin Icon 128x128 AccessPress Instagram Feed
Version 2.0.0
Comparing to
See all releases

Code changes from version 1.0.9 to 2.0.0

Files changed (2) hide show
  1. accesspress-instagram-feed.php +3 -3
  2. readme.txt +5 -2
accesspress-instagram-feed.php CHANGED
@@ -4,7 +4,7 @@ defined( 'ABSPATH' ) or die( "No script kiddies please!" );
4
  Plugin name: AccessPress Instagram Feed
5
  Plugin URI: https://accesspressthemes.com/wordpress-plugins/accesspress-instagram-feed/
6
  Description: A plugin to add various instagram widgets with dynamic configuration options.
7
- Version: 1.0.9
8
  Author: AccessPress Themes
9
  Author URI: http://accesspressthemes.com
10
  Text Domain:accesspress-instagram-feed
@@ -13,7 +13,7 @@ License: GPLv2 or later
13
  */
14
  //Decleration of the necessary constants for plugin
15
  if( !defined( 'APIF_VERSION' ) ) {
16
- define( 'APIF_VERSION', '1.0.9' );
17
  }
18
 
19
  if( !defined( 'APIF_IMAGE_DIR' ) ) {
@@ -105,7 +105,7 @@ if( !class_exists( 'IF_Class' ) ) {
105
  * Starts the session
106
  */
107
  function session_init() {
108
- if( !session_id() ) {
109
  session_start();
110
  }
111
  }
4
  Plugin name: AccessPress Instagram Feed
5
  Plugin URI: https://accesspressthemes.com/wordpress-plugins/accesspress-instagram-feed/
6
  Description: A plugin to add various instagram widgets with dynamic configuration options.
7
+ Version: 2.0.0
8
  Author: AccessPress Themes
9
  Author URI: http://accesspressthemes.com
10
  Text Domain:accesspress-instagram-feed
13
  */
14
  //Decleration of the necessary constants for plugin
15
  if( !defined( 'APIF_VERSION' ) ) {
16
+ define( 'APIF_VERSION', '2.0.0' );
17
  }
18
 
19
  if( !defined( 'APIF_IMAGE_DIR' ) ) {
105
  * Starts the session
106
  */
107
  function session_init() {
108
+ if( !session_id() && !headers_sent() ) {
109
  session_start();
110
  }
111
  }
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: instagram, instagram feed, instagram tag, instagram slider, instagarm mosa
4
  Donate link: http://accesspressthemes.com/donation/
5
  Requires at least: 3.8
6
  Tested up to: 4.3
7
- Stable tag: 1.0.9
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -39,7 +39,7 @@ All you have to do is either use a widget or shortcode to display your instagram
39
  * Use the shortcode [ap_instagram_slider] to display the instagram feed within your content slider layout.
40
  * Use the function `<?php do_shortcode('[ap_instagram_slider]'); ?>` to display within template or theme files slider layout.
41
 
42
- = Available Languages =
43
  * English
44
 
45
  = Some Useful Links =
@@ -95,6 +95,9 @@ Once you install the plugin , you can check some general documentation about how
95
  5. Backend Display Settings Section
96
 
97
  == Changelog ==
 
 
 
98
  = 1.0.9 =
99
  * Done the text domain change to match the plugin slug name.
100
 
4
  Donate link: http://accesspressthemes.com/donation/
5
  Requires at least: 3.8
6
  Tested up to: 4.3
7
+ Stable tag: 2.0.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
39
  * Use the shortcode [ap_instagram_slider] to display the instagram feed within your content slider layout.
40
  * Use the function `<?php do_shortcode('[ap_instagram_slider]'); ?>` to display within template or theme files slider layout.
41
 
42
+ = Available Languages =
43
  * English
44
 
45
  = Some Useful Links =
95
  5. Backend Display Settings Section
96
 
97
  == Changelog ==
98
+ = 2.0.0 =
99
+ * Addition of the header_sent method checking in the plugin's main class for the session start.
100
+
101
  = 1.0.9 =
102
  * Done the text domain change to match the plugin slug name.
103