Plugin Directory

Changeset 3446883


Ignore:
Timestamp:
01/26/2026 07:25:08 AM (2 months ago)
Author:
Wpcalc
Message:

Update CF7 Coder to version 1.0.1

Location:
cf7-coder
Files:
15 added
2 edited

Legend:

Unmodified
Added
Removed
  • cf7-coder/trunk/cf7-coder.php

    r3444729 r3446883  
    44 * Plugin URI:        https://wordpress.org/cf7-coder
    55 * Description:       Add HTML editor to Contact Form 7.
    6  * Version:           1.0
     6 * Version:           1.0.1
    77 * Author:            Wow-Company
    88 * Author URI:        https://wow-estore.com/
     
    4646
    4747        if ( $page === $hook || $page_new === $hook ) {
    48             $version = '1.0';
     48            $version = '1.1';
    4949
    5050            wp_enqueue_script( 'code-editor' );
     
    342342            $remove_tags = get_post_meta( $form_id, '_wpcf7_remove_auto_tags', true );
    343343            if ( ! empty( $remove_tags ) ) {
    344                 $output = str_replace( array( '<p>', '</p>', '<br/>' ), '', $output );
     344                $output = str_replace( array( '<p>', '</p>', '<br>', '<br/>', '<br />' ), '', $output );
    345345            }
    346346
     
    621621            wpcf7_enqueue_styles();
    622622        }
     623        // Enqueue reCAPTCHA if available
     624        if ( function_exists( 'wpcf7_recaptcha_enqueue_scripts' ) ) {
     625            wpcf7_recaptcha_enqueue_scripts();
     626        }
    623627    }
    624628
     
    627631        wp_dequeue_script( 'contact-form-7' );
    628632        wp_dequeue_style( 'contact-form-7' );
     633        wp_dequeue_script( 'wpcf7-recaptcha' );
     634        wp_dequeue_script( 'google-recaptcha' );
    629635    }
    630636
  • cf7-coder/trunk/readme.txt

    r3444729 r3446883  
    66Tested up to: 6.9
    77Requires PHP: 7.4
    8 Stable tag: 1.0
     8Stable tag: 1.0.1
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    5858
    5959== Changelog ==
     60= 1.0.1 =
     61* Fixed: if enable 'Load scripts only on pages with shortcode' recaptcha show only page with shortcode
     62* Fixed: option 'Remove Auto tags p and br '
     63
    6064= 1.0 =
    6165* Added: Redirect after submit with URL input
Note: See TracChangeset for help on using the changeset viewer.