Widgets on Pages - Version 1.0.2

Version Description

  1. Fixed issue headers being sent from template tag function.
Download this release

Release Info

Developer toddhalfpenny
Plugin Icon 128x128 Widgets on Pages
Version 1.0.2
Comparing to
See all releases

Code changes from version 1.0.1 to 1.0.2

includes/class-functions.php CHANGED
@@ -15,10 +15,10 @@ if ( ! function_exists( 'widgets_on_template' ) ) {
15
  *
16
  * @param string $id What to show before the breadcrumb.
17
  *
18
- * @return string
19
  */
20
  function widgets_on_template( $id = '' ) {
21
- return Widgets_On_Pages_Public::widgets_on_template( $id );
22
  }
23
  }
24
  ?>
15
  *
16
  * @param string $id What to show before the breadcrumb.
17
  *
18
+ * @return void
19
  */
20
  function widgets_on_template( $id = '' ) {
21
+ echo Widgets_On_Pages_Public::widgets_on_template( $id );
22
  }
23
  }
24
  ?>
public/class-widgets-on-pages-public.php CHANGED
@@ -95,7 +95,7 @@ class Widgets_On_Pages_Public {
95
  */
96
  public static function widgets_on_template( $id = '1' ) {
97
  $arr = array( 'id' => $id );
98
- echo Widgets_On_Pages_Public::widgets_on_page( $arr );
99
  }
100
 
101
 
95
  */
96
  public static function widgets_on_template( $id = '1' ) {
97
  $arr = array( 'id' => $id );
98
+ return Widgets_On_Pages_Public::widgets_on_page( $arr );
99
  }
100
 
101
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://datamad.co.uk/donate/
4
  Tags: widgets, widgets in page, widgets in post, sidebar, pages, post, shortcode, inline, widgetise, widgetize
5
  Requires at least: 2.8
6
  Tested up to: 4.7.3
7
- Stable tag: 1.0.1
8
 
9
  The easiest and highest rated way to Add Widgets or Sidebars to Posts and Pages using shortcodes or template tags.
10
 
@@ -61,6 +61,10 @@ Yes... you can have an unlimited number of sidebars defined. The number availabl
61
 
62
  == Changelog ==
63
 
 
 
 
 
64
  = 1.0.1 =
65
  1. Fixed issue with php warning when styling checkbox was unchecked.
66
 
4
  Tags: widgets, widgets in page, widgets in post, sidebar, pages, post, shortcode, inline, widgetise, widgetize
5
  Requires at least: 2.8
6
  Tested up to: 4.7.3
7
+ Stable tag: 0.0.12
8
 
9
  The easiest and highest rated way to Add Widgets or Sidebars to Posts and Pages using shortcodes or template tags.
10
 
61
 
62
  == Changelog ==
63
 
64
+ = 1.0.2 =
65
+ 1. Fixed issue headers being sent from template tag function.
66
+
67
+
68
  = 1.0.1 =
69
  1. Fixed issue with php warning when styling checkbox was unchecked.
70
 
widgets_on_pages.php CHANGED
@@ -10,7 +10,7 @@
10
  * Plugin Name: Widgets On Pages
11
  * Plugin URI: https://datamad.co.uk/widgets-on-pages
12
  * Description: The easiest way to Add Widgets or Sidebars to Posts and Pages using shortcodes or template tags.
13
- * Version: 1.0.1
14
  * Author: Todd Halfpenny
15
  * Author URI: http://toddhalfpenny.com/
16
  * License: GPL-2.0+
10
  * Plugin Name: Widgets On Pages
11
  * Plugin URI: https://datamad.co.uk/widgets-on-pages
12
  * Description: The easiest way to Add Widgets or Sidebars to Posts and Pages using shortcodes or template tags.
13
+ * Version: 1.0.2
14
  * Author: Todd Halfpenny
15
  * Author URI: http://toddhalfpenny.com/
16
  * License: GPL-2.0+