New answers tagged

0

It's look OK with : html_entity_decode wp_mail("me@my.com","new article : ".html_entity_decode($get_title),"The message is OK with é è à",$headers); Not so good, another try : wp_mail("me@my.com","new article : ".$post->post_title,"The message is OK with é è à",$headers);


0

After digging a little deeper, I found that there is an action hook in Gravity Forms called gform_pre_submission. This allows me to modify a posted value before creating an entry or running the confirmation (see documentation). After that it was pretty basic: add_action( 'gform_pre_submission_11', 'pre_submission_handler' ); function ...


0

I found the problem. You need to escape the values in the _render functions, using esc_attr, like this: function my_setting_render() { $options = get_option('my_option_name'); ?><input name='my_option_name[my_setting]' value="<?php echo esc_attr($options['my_setting']);?>"> <?php }



Top 50 recent answers are included