Changeset 2672610
- Timestamp:
- 02/04/2022 01:09:41 AM (3 years ago)
- Location:
- magic-tooltips-for-contact-form-7/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
magic-tooltips-for-contact-form-7/trunk/plugin-index.php
r2369866 r2672610 2 2 /* 3 3 * Plugin Name: Magic Tooltips For Contact Form 7 4 * Version: 1.0.2 44 * Version: 1.0.26 5 5 * Plugin URI: https://contactform7.magictooltips.com 6 6 * Description: Easily add tooltips to your Contact Form 7 fields … … 8 8 * Author URI: https://contactform7.magictooltips.com 9 9 * Requires at least: 3.9 10 * Tested up to: 5. 510 * Tested up to: 5.9 11 11 * 12 12 * @package WordPress -
magic-tooltips-for-contact-form-7/trunk/readme.txt
r2369866 r2672610 3 3 Tags: tooltips, contact form 7, responsive, mobile friendly 4 4 Requires at least: 3.2 5 Tested up to: 5. 56 Stable tag: 1.0.2 45 Tested up to: 5.9 6 Stable tag: 1.0.26 7 7 Stable tag: trunk 8 8 License: GPLv2 or later … … 106 106 107 107 108 Version v1.0.26 109 110 Added Wordpress 5.9 support. 111 108 112 Version v1.0.25 109 113 -
magic-tooltips-for-contact-form-7/trunk/settings.php
r2089573 r2672610 105 105 function mtfcf7_select_actve_form_render() { 106 106 $options = get_option( 'mtfcf7_settings' ); 107 $active_form = isset($options['active_form']) ? $options['active_form'] : ''; 107 108 global $post; 108 109 query_posts( … … 118 119 ?> 119 120 <select name='mtfcf7_settings[active_form]'> 120 <option value="" <?php selected( $ options['active_form'], '' ); ?>>Please select a form</option>121 <option value="" <?php selected( $active_form, '' ); ?>>Please select a form</option> 121 122 <?php if ( have_posts()) : ?> 122 123 123 124 <?php while ( have_posts() ) : the_post(); ?> 124 <option value="<?php the_ID(); ?>" <?php selected( $ options['active_form'], get_the_ID() ); ?>><?php the_title() ?></option>125 <option value="<?php the_ID(); ?>" <?php selected( $active_form, get_the_ID() ); ?>><?php the_title() ?></option> 125 126 <?php endwhile; ?> 126 127 <?php endif; ?> … … 151 152 152 153 $options = get_option( 'mtfcf7_settings' ); 153 ?> 154 <input type='checkbox' name='mtfcf7_settings[focus_input]' <?php checked( $options['focus_input'], 1 ); ?> value='1'> When a form field is currently targeted by the keyboard, or activated by the mouse. 154 $focus_input = isset($options['focus_input']) ? $options['focus_input'] : ''; 155 ?> 156 <input type='checkbox' name='mtfcf7_settings[focus_input]' <?php checked( $focus_input, 1 ); ?> value='1'> When a form field is currently targeted by the keyboard, or activated by the mouse. 155 157 <?php 156 158 }
Note: See TracChangeset
for help on using the changeset viewer.