You appear to be a bot. Output may be restricted
Description
Implement "no_texturize_shortcodes" for oik-fieldsWith WordPress 3.9.2 it was possible to pass a parameter of meta_compare=">=" to the [bw_related] shortcode In WordPress 4.0 the wptexturize logic converted the quotes to HTML entities which prevented the shortcode from being parsed correctly. This logic somehow prevents the 'messing up', which I believe was unintentional… i.e. a bug.
Usage
$array = oik_fields_no_texturize_shortcodes( $shortcodes );
Parameters
- $shortcodes
- ( mixed ) required –
Returns
array as before with bw_related addedSource
File name: oik-fields/oik-fields.phpLines:
1 to 4 of 4
function oik_fields_no_texturize_shortcodes( $shortcodes ) { $shortcodes[] = "bw_related"; return( $shortcodes ); }View on GitHub