From 89b68891b0113146298eaccc24e333441a84cfdb Mon Sep 17 00:00:00 2001 From: Glen Whitney Date: Mon, 28 Mar 2022 15:53:07 -0700 Subject: [PATCH] Fix: forgot a parameter in str_replace --- tablepress-pods.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tablepress-pods.php b/tablepress-pods.php index f864a5d..2393f6f 100644 --- a/tablepress-pods.php +++ b/tablepress-pods.php @@ -3,7 +3,7 @@ Plugin Name: TablePress Extension: Pods tables Plugin URI: https://code.studioinfinity.org/glen/tablepress-pods Description: Custom Extension for TablePress to incorporate Pods information in tables -Version: 0.4.0 +Version: 0.4.1 Author: Glen Whitney Author URI: http://studioinfinity.org/ */ @@ -114,7 +114,7 @@ function tbp_pods_exportpods_data( $data, $act ) { } function tbp_pods_maybe_shortcodes($value) { - $bracketed = str_replace(array('((', '))'), array('[', ']')); + $bracketed = str_replace(array('((', '))'), array('[', ']'), $value); return do_shortcode($bracketed); }