PluginProbe
WP Attachments / 3.2
WP Attachments v3.2
6.0.2 6.0.3 trunk 2.0 3 3.0.1 3.0.2 3.0.3 3.1 3.1.1 3.1.2 3.1.3 3.1.4 3.2 3.2.1 3.2.2 3.2.3 3.2.4 3.3 3.4 3.5 3.5.1 3.5.2 3.5.3 3.5.4 All 52 releases
← All changes | settings.php +0 -15 3.5.23.2 View file →
@@ -28,14 +28,8 @@
28 28 update_option('wpatt_option_includeimages', '1');
29 29 } else {
30 30 update_option('wpatt_option_includeimages', '0');
31 31 }
32 -
33 - if (isset($_POST['wpatt_option_targetblank_n'])) {
34 - update_option('wpatt_option_targetblank', '1');
35 - } else {
36 - update_option('wpatt_option_targetblank', '0');
37 - }
38 32
39 33 }
40 34
41 35
@@ -96,17 +90,8 @@
96 90 if ($wpatt_option_showdate_get == '1') {
97 91 echo 'checked=\'checked\'';
98 92 }
99 93 echo '/>&nbsp;' . __('Check this if you want to show the date of file upload','wp-attachments') . '</td>';
100 - echo '</tr>';
101 -
102 - echo '<tr><th scope="row">' . __('Open in new tab','wp-attachments') . '</th>
103 - <td><input type="checkbox" name="wpatt_option_targetblank_n" ';
104 - $wpatt_option_targetblank_get = get_option('wpatt_option_targetblank');
105 - if ($wpatt_option_targetblank_get == '1') {
106 - echo 'checked=\'checked\'';
107 - }
108 - echo '/>&nbsp;' . __('Check this option if you want to add target="_blank" to every file listed in order to open it in a new tab','wp-attachments') . '</td>';
109 94 echo '</tr></table>';
110 95
111 96
112 97