Plugin Directory

Changeset 3389028


Ignore:
Timestamp:
11/03/2025 05:01:11 PM (6 weeks ago)
Author:
mariovalney
Message:

v2.2.2

Location:
cf7-html-email-template-extension
Files:
445 added
3 edited

Legend:

Unmodified
Added
Removed
  • cf7-html-email-template-extension/trunk/cf7-html-email-template-extension.php

    r3061350 r3389028  
    55 * Plugin URI:        https://github.com/mariovalney/cf7-html-email-template-extension
    66 * Description:       Improve your Contact Form 7 emails with a HTML Template.
    7  * Version:           2.2.1
     7 * Version:           2.2.2
    88 * Author:            Mário Valney
    99 * Author URI:        https://mariovalney.com
     
    298298        public function run() {
    299299            // Definitions to plugin
    300             define( 'CF7HETE_VERSION', '2.2.1' );
     300            define( 'CF7HETE_VERSION', '2.2.2' );
    301301            define( 'CF7HETE_PLUGIN_FILE', __FILE__ );
    302302            define( 'CF7HETE_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
  • cf7-html-email-template-extension/trunk/modules/cf7/class-module-cf7.php

    r3061350 r3389028  
    101101            }
    102102
    103             wp_enqueue_script( 'cf7hete-ace-editor-script', CF7HETE_PLUGIN_URL . '/modules/cf7/includes/assets/ace-editor/ace.js', ['wpcf7-admin'] );
    104             wp_enqueue_script( 'cf7hete-script', CF7HETE_PLUGIN_URL . '/modules/cf7/includes/assets/cf7hete-script.js', ['cf7hete-ace-editor-script'] );
    105 
    106             wp_enqueue_style( 'cf7hete-style', CF7HETE_PLUGIN_URL . '/modules/cf7/includes/assets/cf7hete-styles.css', ['contact-form-7-admin'] );
     103            // Make sure we're on the CF7 admin page
     104            if ( ! isset( $_GET['page'] ) || $_GET['page'] !== 'wpcf7' ) {
     105                return;
     106            }
     107
     108            wp_enqueue_script( 'cf7hete-ace-editor-script', CF7HETE_PLUGIN_URL . '/modules/cf7/includes/assets/ace-editor/ace.js', array('jquery'), CF7HETE_VERSION, true );
     109            wp_enqueue_script( 'cf7hete-script', CF7HETE_PLUGIN_URL . '/modules/cf7/includes/assets/cf7hete-script.js', array('jquery', 'cf7hete-ace-editor-script', 'wpcf7-admin'), CF7HETE_VERSION, true );
     110            wp_enqueue_style( 'cf7hete-style', CF7HETE_PLUGIN_URL . '/modules/cf7/includes/assets/cf7hete-styles.css', array('contact-form-7-admin'), CF7HETE_VERSION );
    107111        }
    108112
  • cf7-html-email-template-extension/trunk/readme.txt

    r3061350 r3389028  
    11=== HTML Template for CF7 ===
     2
    23Contributors: mariovalney
    34Donate link: https://mariovalney.com
    45Tags: emails, cf7, contact form, contact form 7, email template, html email
    56Requires at least: 4.5
    6 Tested up to: 6.4
    7 Stable tag: trunk
     7Tested up to: 6.8
     8Stable tag: 2.2.2
    89Requires PHP: 7.4
    910License: GPLv2 or later
     
    5758== Changelog ==
    5859
     60= 2.2.2 =
     61
     62* Fix unresponsive tabs in form editor with CF7 6.1+
     63
     64Props for "Francesco Zeno Selva" (zenotds). Thanks!
     65
    5966= 2.2.1 =
    6067
Note: See TracChangeset for help on using the changeset viewer.