Changeset 2770067
- Timestamp:
- 08/13/2022 08:34:21 AM (4 years ago)
- Location:
- fast-flow-dashboard/trunk
- Files:
-
- 5 edited
-
fastflow.php (modified) (1 diff)
-
lib/class.fastflow-addons.php (modified) (1 diff)
-
lib/class.fastflow.widgets.interface.php (modified) (1 diff)
-
lib/widgets/fast_flow_html_widget_class.php (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
fast-flow-dashboard/trunk/fastflow.php
r2769680 r2770067 5 5 * Plugin URI: https://fastflow.io 6 6 * Description: User tagging and dashboard plugin for Fast Flow system 7 * Version: 1.2.1 27 * Version: 1.2.13 8 8 * Author: FastFlow.io 9 9 * Author URI: https://fastflow.io -
fast-flow-dashboard/trunk/lib/class.fastflow-addons.php
r2769680 r2770067 241 241 $params = self::get_param_data(); 242 242 $params['_ff_data_action'] = 'get_prod'; 243 $params['_ff_data_source'] = esc_ html($_POST['value']);243 $params['_ff_data_source'] = esc_attr($_POST['value']); 244 244 $request_param = array( 245 245 'timeout' => 90, -
fast-flow-dashboard/trunk/lib/class.fastflow.widgets.interface.php
r2769680 r2770067 267 267 $title = ' '; 268 268 } else { 269 $title = $widget[$widgetnumber]["title"];269 $title = esc_attr($widget[$widgetnumber]["title"]); 270 270 } 271 271 -
fast-flow-dashboard/trunk/lib/widgets/fast_flow_html_widget_class.php
r2023961 r2770067 62 62 public function widget( $args, $instance ) { 63 63 $widget_id = $args['widget_id']; 64 $editor_content = $instance[ 'wp_editor_html' ];64 $editor_content = esc_attr($instance[ 'wp_editor_html' ]); 65 65 echo '<div id="'.$widget_id.'">'; 66 66 echo $editor_content; … … 85 85 // outputs the options form on admin 86 86 87 $title = ! empty( $instance['title'] ) ? $instance['title']: __( 'HTML', 'text_domain' );88 $wp_editor_html = ! empty( $instance['wp_editor_html'] ) ? $instance['wp_editor_html']: __( '', 'text_domain' );87 $title = ! empty( $instance['title'] ) ? esc_attr($instance['title']) : __( 'HTML', 'text_domain' ); 88 $wp_editor_html = ! empty( $instance['wp_editor_html'] ) ? esc_attr($instance['wp_editor_html']) : __( '', 'text_domain' ); 89 89 90 90 //$ff_from = ! empty( $instance['ff_from'] ) ? $instance['ff_from'] :''; … … 106 106 <label for="<?php echo $this->get_field_id( 'wp_editor_html' ); ?>"><?php _e( 'Description:' ); ?></label> 107 107 108 <textarea class="widefat" id="<?php echo $this->get_field_id( 'wp_editor_html' ); ?>" name="<?php echo $this->get_field_name( 'wp_editor_html' ); ?>" rows="5" cols="5"><?php echo ( $wp_editor_html ); ?></textarea>108 <textarea class="widefat" id="<?php echo $this->get_field_id( 'wp_editor_html' ); ?>" name="<?php echo $this->get_field_name( 'wp_editor_html' ); ?>" rows="5" cols="5"><?php echo esc_attr( $wp_editor_html ); ?></textarea> 109 109 110 110 </p> -
fast-flow-dashboard/trunk/readme.txt
r2769680 r2770067 65 65 == Changelog == 66 66 67 68 = 1.2.13 = 69 70 Further fix for potential admin XSS 71 67 72 = 1.2.12 = 68 73
Note: See TracChangeset
for help on using the changeset viewer.