Fix: forgot a parameter in str_replace

This commit is contained in:
Glen Whitney 2022-03-28 15:53:07 -07:00
parent 91d14c80ed
commit 89b68891b0
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
Plugin Name: TablePress Extension: Pods tables Plugin Name: TablePress Extension: Pods tables
Plugin URI: https://code.studioinfinity.org/glen/tablepress-pods Plugin URI: https://code.studioinfinity.org/glen/tablepress-pods
Description: Custom Extension for TablePress to incorporate Pods information in tables Description: Custom Extension for TablePress to incorporate Pods information in tables
Version: 0.4.0 Version: 0.4.1
Author: Glen Whitney Author: Glen Whitney
Author URI: http://studioinfinity.org/ Author URI: http://studioinfinity.org/
*/ */
@ -114,7 +114,7 @@ function tbp_pods_exportpods_data( $data, $act ) {
} }
function tbp_pods_maybe_shortcodes($value) { function tbp_pods_maybe_shortcodes($value) {
$bracketed = str_replace(array('((', '))'), array('[', ']')); $bracketed = str_replace(array('((', '))'), array('[', ']'), $value);
return do_shortcode($bracketed); return do_shortcode($bracketed);
} }