PluginProbe
Taboola / 1.0.15
Taboola v1.0.15
1.0.4 1.0.5 1.0.6 1.0.8 2.0.1 2.0.2 2.1.0 2.1.1 2.2.2 2.2.3 3.0.0 3.0.1 3.0.2 3.1.0 trunk 1.0 1.0.1 1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.0.15 1.0.2 1.0.3
← All changes | widget.php +4 -4 2.2.21.0.15 View file →
@@ -47,10 +47,10 @@
47 47 $widget_num = $tmp_id[1];
48 48
49 49 $widget_id = ! empty( $instance['widget_id'] ) ? $instance['widget_id'] : '';
50 50
51 - // Prefix each placement with "WP Right Rail". Grab the ID of the container (i.e. the sidebar) and append 'widget_num' to make it unique.
52 - $placement = "WP Right Rail (". $args["id"]."-".$widget_num.")";
51 + // use the widget container name as the placement, suffix the widget_num to make it unique
52 + $placement=$args["id"]."-".$widget_num;
53 53
54 54 echo $before_widget;
55 55
56 56 if ( $title ){
@@ -76,14 +76,14 @@
76 76
77 77 echo $after_widget;
78 78 }
79 79
80 - function form( $instance ) {
80 + function form( $instance ) {
81 81 $instance = wp_parse_args( (array) $instance );
82 82 $widget_id = esc_attr( $instance['widget_id'] );
83 83 ?>
84 84 <p>
85 - <label for="<?php echo $this->get_field_id('widget_id'); ?>"><?php _e('Mode (Widget ID):'); ?>
85 + <label for="<?php echo $this->get_field_id('widget_id'); ?>"><?php _e('Widget ID:'); ?>
86 86 <input class="widefat" id="<?php echo $this->get_field_id('widget_id'); ?>" name="<?php echo $this->get_field_name('widget_id'); ?>" type="text" value="<?php echo esc_attr($widget_id); ?>" />
87 87 </label>
88 88 </p>
89 89 <?php