bobbingwide / oik-bob-bing-wide

More lazy smart shortcodes
https://www.oik-plugins.com/oik-plugins/oik-bob-bing-wide-more-lazy-smart-shortcodes/
GNU General Public License v2.0
1 stars 0 forks source link

[bw_option] to support serialized fields #6

Closed bobbingwide closed 8 years ago

bobbingwide commented 8 years ago

In oik-requests we use a new field type of serialized to store information about each of the different possible query parameters to a request.

oik-fields was extended to support the display of a serialized array using [bw_field] / [bw_fields]

See [oik fields issue #10]

The same logic should be available to oik-bob-bing-wide's [bw_option] shortcode.

Currently, if you attempt to display a serialized field you get Notice: Array to string conversion in C:\apache\htdocs\wordpress\wp-content\plugins\oik-bwtrace\libs\bobbfunc.php on line 60 Array

_Note: _There aren't that many serialized fields where it makes sense to display them directly.