Pods – Custom Content Types and Fields - Version 2.7.3

Version Description

  • May 6th 2018 =

Bug Fixes

  • Fixed: 'search' param for Pods shortcodes #4909 (@pglewis)
  • Fixed: 'before_content' and 'after_content' were ignored in widgets #4891 (@pglewis)
Download this release

Release Info

Developer pglewis
Plugin Icon 128x128 Pods – Custom Content Types and Fields
Version 2.7.3
Comparing to
See all releases

Code changes from version 2.7.2.1 to 2.7.3

classes/widgets/PodsWidgetField.php CHANGED
@@ -28,8 +28,8 @@ class PodsWidgetField extends WP_Widget {
28
  $before_title = pods_v( 'before_title', $args );
29
  $title = apply_filters( 'widget_title', pods_v( 'title', $instance ) );
30
  $after_title = pods_v( 'after_title', $args );
31
- $before_content = pods_v( 'before_content', $args );
32
- $after_content = pods_v( 'after_content', $args );
33
 
34
  $args = array(
35
  'name' => trim( pods_v( 'pod_type', $instance, '' ) ),
28
  $before_title = pods_v( 'before_title', $args );
29
  $title = apply_filters( 'widget_title', pods_v( 'title', $instance ) );
30
  $after_title = pods_v( 'after_title', $args );
31
+ $before_content = pods_v( 'before_content', $instance );
32
+ $after_content = pods_v( 'after_content', $instance );
33
 
34
  $args = array(
35
  'name' => trim( pods_v( 'pod_type', $instance, '' ) ),
classes/widgets/PodsWidgetForm.php CHANGED
@@ -28,8 +28,8 @@ class PodsWidgetForm extends WP_Widget {
28
  $before_title = pods_v( 'before_title', $args );
29
  $title = apply_filters( 'widget_title', pods_v( 'title', $instance ) );
30
  $after_title = pods_v( 'after_title', $args );
31
- $before_content = pods_v( 'before_content', $args );
32
- $after_content = pods_v( 'after_content', $args );
33
 
34
  $args = array(
35
  'name' => trim( pods_v( 'pod_type', $instance, '' ) ),
28
  $before_title = pods_v( 'before_title', $args );
29
  $title = apply_filters( 'widget_title', pods_v( 'title', $instance ) );
30
  $after_title = pods_v( 'after_title', $args );
31
+ $before_content = pods_v( 'before_content', $instance );
32
+ $after_content = pods_v( 'after_content', $instance );
33
 
34
  $args = array(
35
  'name' => trim( pods_v( 'pod_type', $instance, '' ) ),
classes/widgets/PodsWidgetList.php CHANGED
@@ -28,8 +28,8 @@ class PodsWidgetList extends WP_Widget {
28
  $before_title = pods_v( 'before_title', $args );
29
  $title = apply_filters( 'widget_title', pods_v( 'title', $instance ) );
30
  $after_title = pods_v( 'after_title', $args );
31
- $before_content = pods_v( 'before_content', $args );
32
- $after_content = pods_v( 'after_content', $args );
33
 
34
  $args = array(
35
  'name' => trim( pods_v( 'pod_type', $instance, '' ) ),
28
  $before_title = pods_v( 'before_title', $args );
29
  $title = apply_filters( 'widget_title', pods_v( 'title', $instance ) );
30
  $after_title = pods_v( 'after_title', $args );
31
+ $before_content = pods_v( 'before_content', $instance );
32
+ $after_content = pods_v( 'after_content', $instance );
33
 
34
  $args = array(
35
  'name' => trim( pods_v( 'pod_type', $instance, '' ) ),
classes/widgets/PodsWidgetSingle.php CHANGED
@@ -27,8 +27,8 @@ class PodsWidgetSingle extends WP_Widget {
27
  $before_title = pods_v( 'before_title', $args );
28
  $title = apply_filters( 'widget_title', pods_v( 'title', $instance ) );
29
  $after_title = pods_v( 'after_title', $args );
30
- $before_content = pods_v( 'before_content', $args );
31
- $after_content = pods_v( 'after_content', $args );
32
 
33
  $args = array(
34
  'name' => trim( pods_v( 'pod_type', $instance, '' ) ),
27
  $before_title = pods_v( 'before_title', $args );
28
  $title = apply_filters( 'widget_title', pods_v( 'title', $instance ) );
29
  $after_title = pods_v( 'after_title', $args );
30
+ $before_content = pods_v( 'before_content', $instance );
31
+ $after_content = pods_v( 'after_content', $instance );
32
 
33
  $args = array(
34
  'name' => trim( pods_v( 'pod_type', $instance, '' ) ),
classes/widgets/PodsWidgetView.php CHANGED
@@ -28,8 +28,8 @@ class PodsWidgetView extends WP_Widget {
28
  $before_title = pods_v( 'before_title', $args );
29
  $title = apply_filters( 'widget_title', pods_v( 'title', $instance ) );
30
  $after_title = pods_v( 'after_title', $args );
31
- $before_content = pods_v( 'before_content', $args );
32
- $after_content = pods_v( 'after_content', $args );
33
 
34
  $args = array(
35
  'view' => trim( pods_v( 'view', $instance, '' ) ),
28
  $before_title = pods_v( 'before_title', $args );
29
  $title = apply_filters( 'widget_title', pods_v( 'title', $instance ) );
30
  $after_title = pods_v( 'after_title', $args );
31
+ $before_content = pods_v( 'before_content', $instance );
32
+ $after_content = pods_v( 'after_content', $instance );
33
 
34
  $args = array(
35
  'view' => trim( pods_v( 'view', $instance, '' ) ),
includes/general.php CHANGED
@@ -749,7 +749,7 @@ function pods_shortcode( $tags, $content = null ) {
749
  $tags = apply_filters( 'pods_shortcode', $tags );
750
 
751
  $tags['pagination'] = filter_var( $tags['pagination'], FILTER_VALIDATE_BOOLEAN );
752
- $tags['search'] = filter_var( $tags['pagination'], FILTER_VALIDATE_BOOLEAN );
753
  $tags['use_current'] = filter_var( $tags['use_current'], FILTER_VALIDATE_BOOLEAN );
754
 
755
  if ( empty( $content ) ) {
749
  $tags = apply_filters( 'pods_shortcode', $tags );
750
 
751
  $tags['pagination'] = filter_var( $tags['pagination'], FILTER_VALIDATE_BOOLEAN );
752
+ $tags['search'] = filter_var( $tags['search'], FILTER_VALIDATE_BOOLEAN );
753
  $tags['use_current'] = filter_var( $tags['use_current'], FILTER_VALIDATE_BOOLEAN );
754
 
755
  if ( empty( $content ) ) {
init.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Pods - Custom Content Types and Fields
4
  Plugin URI: https://pods.io/
5
  Description: Pods is a framework for creating, managing, and deploying customized content types and fields
6
- Version: 2.7.2.1
7
  Author: Pods Framework Team
8
  Author URI: https://pods.io/about/
9
  Text Domain: pods
@@ -36,7 +36,7 @@ if ( defined( 'PODS_VERSION' ) || defined( 'PODS_DIR' ) ) {
36
  add_action( 'init', 'pods_deactivate_pods_ui' );
37
  } else {
38
  // Current version
39
- define( 'PODS_VERSION', '2.7.2.1' );
40
 
41
  // Version tracking between DB updates themselves
42
  define( 'PODS_DB_VERSION', '2.3.5' );
3
  Plugin Name: Pods - Custom Content Types and Fields
4
  Plugin URI: https://pods.io/
5
  Description: Pods is a framework for creating, managing, and deploying customized content types and fields
6
+ Version: 2.7.3
7
  Author: Pods Framework Team
8
  Author URI: https://pods.io/about/
9
  Text Domain: pods
36
  add_action( 'init', 'pods_deactivate_pods_ui' );
37
  } else {
38
  // Current version
39
+ define( 'PODS_VERSION', '2.7.3' );
40
 
41
  // Version tracking between DB updates themselves
42
  define( 'PODS_DB_VERSION', '2.3.5' );
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: pods, custom post types, custom taxonomies, content types, custom fields,
5
  Requires at least: 4.5
6
  Requires PHP: 5.3
7
  Tested up to: 4.9.5
8
- Stable tag: 2.7.2.1
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -180,6 +180,13 @@ We also have a dedicated [Slack Chat](https://pods.io/chat/) channel to help our
180
 
181
  == Changelog ==
182
 
 
 
 
 
 
 
 
183
  = 2.7.2.1 - May 5th 2018 =
184
 
185
  **Developer and deployment enhancements**
5
  Requires at least: 4.5
6
  Requires PHP: 5.3
7
  Tested up to: 4.9.5
8
+ Stable tag: 2.7.3
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
180
 
181
  == Changelog ==
182
 
183
+ = 2.7.3 - May 6th 2018 =
184
+
185
+ **Bug Fixes**
186
+
187
+ * Fixed: 'search' param for Pods shortcodes #4909 (@pglewis)
188
+ * Fixed: 'before_content' and 'after_content' were ignored in widgets #4891 (@pglewis)
189
+
190
  = 2.7.2.1 - May 5th 2018 =
191
 
192
  **Developer and deployment enhancements**