Changeset 3109374
- Timestamp:
- 06/28/2024 04:56:26 PM (4 weeks ago)
- Location:
- mega-forms
- Files:
-
- 466 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
mega-forms/trunk/README.txt
r3031844 r3109374 4 4 Tags: drag and drop form builder, ajax forms, contact form recaptcha, multi step ajax form, file upload forms, contact form, forms, custom form, contact form plugin, wordpress form plugin, message form 5 5 Requires at least: 5.6 6 Tested up to: 6. 4.37 Stable tag: 1.4. 36 Tested up to: 6. 7 Stable tag: 1.4. 8 8 Requires PHP: 7.4 9 9 License: GPLv2 or later … … 350 350 = 1.4.3 = 351 351 - Bug fixes ( date range field validation error + others ) 352 353 -
mega-forms/trunk/common/partials/form/actions/class-mega-forms-action-email.php
r2954046 r3109374 73 73 $from_name = mfget_option('email_from_name', get_bloginfo('name')); 74 74 } 75 if (empty($from_email) || (!is_email($from_email) && strpos($from_email, '{mf:') !== false)) { 76 $from_email = mfget_option('email_from_address', get_bloginfo('admin_email')); 75 76 if (strpos($from_email, '{mf:wp') !== false) { 77 $from_email = $this->process_merge_tags($from_email, $postedFields); 78 } 79 80 if (empty($from_email) || !is_email($from_email)) { 81 $from_email = mfget_option('email_from_address', get_bloginfo('admin_email')); 77 82 } 78 83 … … 147 152 $args['default'] = ''; 148 153 $args['placeholder'] = htmlspecialchars_decode($default_from_address); 149 $args['inline_modal'] = array(' fields', 'form', 'wp', 'misc');154 $args['inline_modal'] = array(''); 150 155 151 156 return mfinput('text', $args, true); -
mega-forms/trunk/common/partials/form/fields/base/class-mega-forms-field-choice.php
r3021998 r3109374 31 31 'field_choices' 32 32 ), 33 34 35 36 33 37 ); 34 38 public $editorExceptions = array( … … 169 173 return $input; 170 174 } 171 175 /** 176 * Returns the field for the choice alignment. 177 * 178 * @return string 179 */ 180 // protected function field_alignment() 181 // { 182 183 // $label = __('Alignment', 'megaforms'); 184 // $field_key = 'field_alignment'; 185 // $type = $this->type == 'checkboxes' ? 'checkbox' : 'radio'; 186 // $value = $this->get_setting_value($field_key); 187 // $desc = __('Add choices to this field using the repeatable inputs below.', 'megaforms'); 188 189 // $args['id'] = $this->get_field_key('options', $field_key); 190 // $args['label'] = $label; 191 // $args['after_label'] = $this->get_description_tip_markup($label, $desc); 192 // $args['value'] = $value; 193 // $args['options'] = array( 194 // 'vertical' => __('Vertical', 'megaforms'), 195 // 'horizontal' => __('Horizontal', 'megaforms'), 196 // 'grid' => __('Grid', 'megaforms'), 197 // ); 198 // $args['default'] = 'vertical'; 199 // $args['onchange_preview'] = $this->get_js_helper_rules('none', 'update_choice_alignment'); 200 201 // $input = mfinput('radio', $args, true); 202 // return $input; 203 // } 204 /** 205 * Returns the field for the choice alignment. 206 * 207 * @return string 208 */ 209 // protected function field_style() 210 // { 211 212 // $label = __('Style', 'megaforms'); 213 // $field_key = 'field_style'; 214 // $type = $this->type == 'checkboxes' ? 'checkbox' : 'radio'; 215 // $value = $this->get_setting_value($field_key); 216 // $desc = __('Add choices to this field using the repeatable inputs below.', 'megaforms'); 217 218 // $args['id'] = $this->get_field_key('options', $field_key); 219 // $args['label'] = $label; 220 // $args['after_label'] = $this->get_description_tip_markup($label, $desc); 221 // $args['value'] = $value; 222 // $args['options'] = array( 223 // 'standard' => __('Standard', 'megaforms'), 224 // 'boxed' => __('Boxed', 'megaforms'), 225 // ); 226 // $args['default'] = 'vertical'; 227 // $args['onchange_preview'] = $this->get_js_helper_rules('none', 'update_choice_style'); 228 229 // $input = mfinput('radio', $args, true); 230 // return $input; 231 // } 232 233 /********************************************************************** 234 ***************************** Helpers ******************************** 235 **********************************************************************/ 172 236 /** 173 237 * Returns an array of default choices to be used when none are provided. -
mega-forms/trunk/common/partials/form/fields/class-mega-forms-field-address.php
r2954046 r3109374 219 219 220 220 /********************************************************************** 221 ************************* Helpers******************************221 ******************************************************* 222 222 **********************************************************************/ 223 223 public function get_us_states() -
mega-forms/trunk/mega-forms.php
r3031844 r3109374 6 6 * Plugin URI: http://wpmegaforms.com/ 7 7 * Description: Megaforms is an easy to use, feature rich, drag and drop form builder for WordPress. 8 * Version: 1.4. 38 * Version: 1.4. 9 9 * Author: Ali Khallad 10 10 * Author URI: https://alikhallad.com … … 21 21 } 22 22 23 define('MEGAFORMS', '1.4. 3');23 define('MEGAFORMS', '1.4.'); 24 24 define('MEGAFORMS_DIR_URL', plugin_dir_url(__FILE__)); 25 25 define('MEGAFORMS_DIR_PATH', plugin_dir_path(__FILE__));
Note: See TracChangeset
for help on using the changeset viewer.