PluginProbe
Phone Button / trunk
Phone Button vtrunk
trunk 1.0.0 1.0.1 1.0.3 1.1.0 1.1.1 2.0.0 2.1.0 2.1.1 2.1.2
← All changes | include/install.php +9 -2 1.1.1trunk View file →
@@ -38,8 +38,11 @@
38 38
39 39 // getting the image arrow icon
40 40 $icon_image_url = plugin_dir_url(dirname(__FILE__)) . 'images/phone.png';
41 41
42 + $exclude_option = '';
43 + $exclude_ids = '';
44 +
42 45 // ----------------------------------------------
43 46 // insert the data into an array
44 47 // ----------------------------------------------
45 48
@@ -64,9 +67,13 @@
64 67 'mobile_horizontal_position' => $mobile_horizontal_position,
65 68 'mobile_horizontal_spacing' => $mobile_horizontal_spacing,
66 69 'mobile_vertical_position' => $mobile_vertical_position,
67 70 'mobile_vertical_spacing' => $mobile_vertical_spacing,
68 - 'icon_image_url' => $icon_image_url
71 +
72 + 'icon_image_url' => $icon_image_url,
73 +
74 + 'exclude_option' => $exclude_option,
75 + 'exclude_ids' => $exclude_ids,
69 76 ); // $creating_data_array = array(
70 77
71 78 // ----------------------------------------------
72 79 // creating a value with all the array data
@@ -84,10 +91,10 @@
84 91 // inserting all the data to datbase
85 92 // ----------------------------------------------
86 93
87 94 $plugin_data = $array_key_name . "***" . $array_item_value;
88 - $plugin_data = yydev_phone_btn_mysql_prep($plugin_data);
95 + $plugin_data = sanitize_text_field($plugin_data);
89 96
90 97 // update optuon on the database into wp_options
91 98 update_option($wp_options_name, $plugin_data);
92 99
93 100 } // if( !get_option($wp_options_name) ) {