Quantcast
Viewing all articles
Browse latest Browse all 326

version 2.29.15 to 2.29.16: different output and args won’t work

Hi Team,

i have a widget like in https://siteorigin.com/docs/widgets-bundle/getting-started/creating-a-widget/

In your plugin version 2.29.16 i have two problems:

1. the siteorigin_widget_post_selector_process_query like in https://siteorigin.com/docs/widgets-bundle/form-building/post-selector/ handels my args wrong:

With

$processed_query = siteorigin_widget_post_selector_process_query( $query, true );
parse_str($loop_query, $output);

the $output becomes [amp;posts_per_page] => 6 insteadt of [posts_per_page] => 6 for example. In 2.29.15 it’s correct.

2. The do_shortcode function can’t handle the code like

echo do_shortcode('[siteorigin_widget class="my_Hero_SOWidget"] <input type="hidden" value="' . $args . '" /> [/siteorigin_widget]');

and it returns nothing.
In 2.29.15 i get the correct content.

I know this is hard to say, but if you have an idea where I can start looking for a solution I would be grateful.

Best wishes
Rico

The post version 2.29.15 to 2.29.16: different output and args won’t work appeared first on SiteOrigin.


Viewing all articles
Browse latest Browse all 326

Trending Articles