Changeset 3183170
- Timestamp:
- 11/06/2024 01:31:47 PM (13 months ago)
- Location:
- form-maker/trunk
- Files:
-
- 6 edited
-
admin/controllers/Manage_fm.php (modified) (1 diff)
-
admin/views/Manage_fm.php (modified) (2 diffs)
-
form-maker.php (modified) (2 diffs)
-
frontend/views/form_maker.php (modified) (4 diffs)
-
readme.txt (modified) (2 diffs)
-
wd/includes/notices.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
form-maker/trunk/admin/controllers/Manage_fm.php
r2791341 r3183170 1320 1320 $header_title = WDW_FM_Library(self::PLUGIN)->get('header_title', ''); 1321 1321 $header_description = WDW_FM_Library(self::PLUGIN)->get('header_description', '', FALSE); 1322 $header_image_url = WDW_FM_Library(self::PLUGIN)->get('header_image_url', ' ');1322 $header_image_url = WDW_FM_Library(self::PLUGIN)->get('header_image_url', 'sanitize_url'); 1323 1323 $header_image_animation = WDW_FM_Library(self::PLUGIN)->get('header_image_animation', ''); 1324 1324 $header_hide_image = WDW_FM_Library(self::PLUGIN)->get('header_hide_image', 0); -
form-maker/trunk/admin/views/Manage_fm.php
r2832872 r3183170 572 572 <div class="wd-group"> 573 573 <label class="wd-label" for="header_title"><?php _e('Title', WDFMInstance(self::PLUGIN)->prefix); ?></label> 574 <input type="text" id="header_title" name="header_title" class="fm-check-change" value="<?php echo $row->header_title; ?>" data-initial-value="<?php echo $row->header_title; ?>" />574 <input type="text" id="header_title" name="header_title" class="fm-check-change" value="<?php echo esc_attr($row->header_title); ?>" data-initial-value="<?php echo esc_attr($row->header_title); ?>" /> 575 575 </div> 576 576 <div class="wd-group" id="description_editor"> … … 588 588 <div class="wd-group"> 589 589 <label class="wd-label" for="header_image_url"><?php _e('Image', WDFMInstance(self::PLUGIN)->prefix); ?></label> 590 <input type="text" id="header_image_url" name="header_image_url" class="fm-check-change" value="<?php echo $row->header_image_url; ?>" data-initial-value="<?php echo $row->header_image_url; ?>" />590 <input type="text" id="header_image_url" name="header_image_url" class="fm-check-change" value="<?php echo esc_url($row->header_image_url); ?>" data-initial-value="<?php echo esc_url($row->header_image_url); ?>" /> 591 591 <button class="button add-button medium" onclick="fmOpenMediaUploader(event); return false;"><?php _e('Add Image', WDFMInstance(self::PLUGIN)->prefix); ?></button> 592 592 <?php $header_bg = $row->header_image_url ? 'background-image: url('.$row->header_image_url.'); background-position: center;' : ''; ?> -
form-maker/trunk/form-maker.php
r3171503 r3183170 4 4 * Plugin URI: https://10web.io/plugins/wordpress-form-maker/?utm_source=form_maker&utm_medium=free_plugin 5 5 * Description: This plugin is a modern and advanced tool for easy and fast creating of a WordPress Form. The backend interface is intuitive and user friendly which allows users far from scripting and programming to create WordPress Forms. 6 * Version: 1.15.3 06 * Version: 1.15.31 7 7 * Author: 10Web Form Builder Team 8 8 * Author URI: https://10web.io/plugins/?utm_source=form_maker&utm_medium=free_plugin … … 27 27 public $front_urls = array(); 28 28 public $main_file = ''; 29 public $plugin_version = '1.15.3 0';30 public $db_version = '2.15.3 0';29 public $plugin_version = '1.15.31'; 30 public $db_version = '2.15.31'; 31 31 public $menu_postfix = '_fm'; 32 32 public $plugin_postfix = ''; -
form-maker/trunk/frontend/views/form_maker.php
r3171503 r3183170 193 193 if ( !isset($form_theme['HIPAlign']) || $form_theme['HIPAlign'] == 'left' || $form_theme['HIPAlign'] == 'top' ) { 194 194 if ( $row->header_image_url ) { 195 $form_maker_front_end .= '<div class="fm-header-img ' . $hide_header_image_class . ' fm-animated ' . $header_image_animation . '"><img src="' . $row->header_image_url. '" ' . $image_width . ' ' . $image_height . '/></div>';195 $form_maker_front_end .= '<div class="fm-header-img ' . $hide_header_image_class . ' fm-animated ' . $header_image_animation . '"><img src="' . esc_url($row->header_image_url) . '" ' . $image_width . ' ' . $image_height . '/></div>'; 196 196 } 197 197 } … … 208 208 if ( isset($form_theme['HIPAlign']) && ($form_theme['HIPAlign'] == 'right' || $form_theme['HIPAlign'] == 'bottom') ) { 209 209 if ( $row->header_image_url ) { 210 $form_maker_front_end .= '<div class="fm-header-img"><img src="' . $row->header_image_url. '" ' . $image_width . ' ' . $image_height . '/></div>';210 $form_maker_front_end .= '<div class="fm-header-img"><img src="' . esc_url($row->header_image_url) . '" ' . $image_width . ' ' . $image_height . '/></div>'; 211 211 } 212 212 } … … 1804 1804 if ( $form_theme['HIPAlign'] == 'left' || $form_theme['HIPAlign'] == 'top' ) { 1805 1805 if ( $row->header_image_url ) { 1806 $form_maker_front_end .= '<div class="fm-header-img ' . $hide_header_image_class . ' fm-animated ' . $header_image_animation . '"><img src="' . $row->header_image_url. '" ' . $image_width . ' ' . $image_height . '/></div>';1806 $form_maker_front_end .= '<div class="fm-header-img ' . $hide_header_image_class . ' fm-animated ' . $header_image_animation . '"><img src="' . esc_url($row->header_image_url) . '" ' . $image_width . ' ' . $image_height . '/></div>'; 1807 1807 } 1808 1808 } … … 1819 1819 if ( $form_theme['HIPAlign'] == 'right' || $form_theme['HIPAlign'] == 'bottom' ) { 1820 1820 if ( $row->header_image_url ) { 1821 $form_maker_front_end .= '<div class="fm-header-img"><img src="' . $row->header_image_url. '" ' . $image_width . ' ' . $image_height . '/></div>';1821 $form_maker_front_end .= '<div class="fm-header-img"><img src="' . esc_url($row->header_image_url) . '" ' . $image_width . ' ' . $image_height . '/></div>'; 1822 1822 } 1823 1823 } -
form-maker/trunk/readme.txt
r3171503 r3183170 4 4 Requires at least: 4.6 5 5 Tested up to: 6.5 6 Stable tag: 1.15.3 06 Stable tag: 1.15.31 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 558 558 559 559 == Changelog == 560 = 1.15.31 = 561 * Fixed: Security issue fix. 562 560 563 = 1.15.30 = 561 564 * Fixed: Security issue fix. -
form-maker/trunk/wd/includes/notices.php
r2257177 r3183170 91 91 <p class="wd-notice-body">' . $admin_display_msg . '</p> 92 92 <ul class="wd-notice-body wd-blue">' . $admin_display_link . '</ul> 93 <a href="' . $query_str. '" class="dashicons dashicons-dismiss"></a>93 <a href="' . esc_url($query_str) . '" class="dashicons dashicons-dismiss"></a> 94 94 </div>'; 95 95 } … … 100 100 ' . $admin_display_link . ' 101 101 </ul>'; 102 echo '<a href="' . $query_str. '" class="dashicons dashicons-dismiss close-promo"></a>';102 echo '<a href="' . esc_url($query_str) . '" class="dashicons dashicons-dismiss close-promo"></a>'; 103 103 echo '</div>'; 104 104 } … … 209 209 'msg' => sprintf(__('We hope you\'ve enjoyed using WordPress %s! Would you consider leaving us a review on WordPress.org?', $wd_options->prefix), $wd_options->plugin_title), 210 210 'link' => '<li><span class="dashicons dashicons-external"></span><a href="https://wordpress.org/support/plugin/' . $wd_options->plugin_wordpress_slug . '/reviews?filter=5&rate=5#new-post" target="_blank">' . __('Sure! I\'d love to!', $wd_options->prefix) . '</a></li> 211 <li><span class="dashicons dashicons-smiley"></span><a href="' . $two_week_review_ignore. '"> ' . __('I\'ve already left a review', $wd_options->prefix) . '</a></li>212 <li><span class="dashicons dashicons-calendar-alt"></span><a href="' . $two_week_review_temp. '">' . __('Maybe Later', $wd_options->prefix) . '</a></li>213 <li><span class="dashicons dashicons-dismiss"></span><a href="' . $two_week_review_ignore. '">' . __('Never show again', $wd_options->prefix) . '</a></li>',211 <li><span class="dashicons dashicons-smiley"></span><a href="' . esc_url($two_week_review_ignore) . '"> ' . __('I\'ve already left a review', $wd_options->prefix) . '</a></li> 212 <li><span class="dashicons dashicons-calendar-alt"></span><a href="' . esc_url($two_week_review_temp) . '">' . __('Maybe Later', $wd_options->prefix) . '</a></li> 213 <li><span class="dashicons dashicons-dismiss"></span><a href="' . esc_url($two_week_review_ignore) . '">' . __('Never show again', $wd_options->prefix) . '</a></li>', 214 214 'later_link' => $two_week_review_temp, 215 215 'int' => 14,
Note: See TracChangeset
for help on using the changeset viewer.