Changeset 3074321
- Timestamp:
- 04/20/2024 08:43:52 PM (2 years ago)
- Location:
- accessibility
- Files:
-
- 10 edited
- 1 copied
-
tags/1.0.7 (copied) (copied from accessibility/trunk)
-
tags/1.0.7/accessibility.php (modified) (4 diffs)
-
tags/1.0.7/changelog.txt (modified) (1 diff)
-
tags/1.0.7/includes/accessibility-attachments-alt.php (modified) (1 diff)
-
tags/1.0.7/includes/accessibility-settings.php (modified) (2 diffs)
-
tags/1.0.7/readme.txt (modified) (2 diffs)
-
trunk/accessibility.php (modified) (4 diffs)
-
trunk/changelog.txt (modified) (1 diff)
-
trunk/includes/accessibility-attachments-alt.php (modified) (1 diff)
-
trunk/includes/accessibility-settings.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
accessibility/tags/1.0.7/accessibility.php
r2806895 r3074321 5 5 * Plugin Name: Accessibility 6 6 * Description: Accessibility Utility Widget - A high quality solution for making your WordPress website accessible ready. 7 * Version: 1.0. 67 * Version: 1.0.7 8 8 * Author: Octa Code 9 9 * Author URI: http://octa-code.com 10 10 * Plugin URI: http://acc.magixite.com 11 11 * Copyright: 2015 Octa Code 12 * Last Update: 10/28/202212 * Last Update: 04/20/2024 13 13 * 14 14 * Text Domain: accessibility … … 144 144 { 145 145 if ($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST['action']) && $_POST['action'] == "save_accessibility_settings") { 146 $this->_admin_update_accessibility_settings(); 146 if (isset($_POST['form_nonce']) && wp_verify_nonce($_POST['form_nonce'],'oc-accessibility') && is_user_logged_in()) { 147 $this->_admin_update_accessibility_settings(); 148 } else { 149 echo '<p>Error: Goodbye hackers! Better luck next time. </p>'; 150 } 147 151 } 148 152 … … 156 160 // update_post_meta($pid, '_wp_attachment_image_alt', $palt); 157 161 if ($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST['action']) && $_POST['action'] == "save_accessibility_attachments_settings") { 158 $this->_admin_update_attachments(); 162 if (isset($_POST['form_nonce']) && wp_verify_nonce($_POST['form_nonce'],'oc-accessibility') && is_user_logged_in()) { 163 $this->_admin_update_attachments(); 164 } else { 165 echo '<p>Error: Goodbye hackers! Better luck next time. </p>'; 166 } 159 167 } 160 168 include "includes/accessibility-attachments-alt.php"; … … 238 246 * Post form action for the update prices for brand. 239 247 */ 240 function _admin_update_accessibility_settings() 241 { 248 function _admin_update_accessibility_settings() { 242 249 $lkey = sanitize_text_field($_POST["magixite_license"]); 243 250 update_option('oc-accessibility', $lkey); -
accessibility/tags/1.0.7/changelog.txt
r2806895 r3074321 1 1 == Changelog == 2 2 3 = 1.0. 6=3 = 1.0.7 = 4 4 5 * Security fix: Prevented the plugin from accepting special chars on image attrs.6 * WordPress 6. 0.3compatibility check5 * Security fix: Fix CSRF vulnerability. 6 * WordPress 6.5.2 compatibility check -
accessibility/tags/1.0.7/includes/accessibility-attachments-alt.php
r2808786 r3074321 118 118 </tbody> 119 119 </table> 120 <input name="form_nonce" type="hidden" value="<?=wp_create_nonce('oc-accessibility')?>" /> 120 121 <p class="submit"> 121 122 <input type="submit" class="button-primary" value="<?php _e('Save Changes', $this->plugin_slug) ?>" /> -
accessibility/tags/1.0.7/includes/accessibility-settings.php
r2808781 r3074321 26 26 </p> 27 27 <?php else: ?> 28 <p><?php echo esc_html($this->_get_license_message($license_data)); ?></p>28 <p><?php echo $this->_get_license_message($license_data); ?></p> 29 29 <?php endif; ?> 30 30 </td> … … 50 50 </tbody> 51 51 </table> 52 <input name="form_nonce" type="hidden" value="<?=wp_create_nonce('oc-accessibility')?>" /> 52 53 <p class="submit"> 53 54 <input type="submit" class="button-primary" value="<?php _e('Save Changes', $this->plugin_slug) ?>" /> -
accessibility/tags/1.0.7/readme.txt
r2806895 r3074321 4 4 Tags: accessibility, user1, WAI, WCAG, magixite, octacode, wp accessibility, accessible, widget, plugin, wordpress, access, tool, toolbar, toolkit, wordpress accessible, wordpress accessibility, sidebar, css3, נגישות, הנגשת אתר 5 5 Requires at least: 3.0.1 6 Tested up to: 6. 0.37 Stable tag: 1.0. 66 Tested up to: 6.5.2 7 Stable tag: 1.0.7 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 93 93 Security Optimizations. 94 94 95 = 1.0.6 = 96 Security Fix. 97 95 98 == Upgrade Notice == 96 99 = 1.0 = -
accessibility/trunk/accessibility.php
r2806895 r3074321 5 5 * Plugin Name: Accessibility 6 6 * Description: Accessibility Utility Widget - A high quality solution for making your WordPress website accessible ready. 7 * Version: 1.0. 67 * Version: 1.0.7 8 8 * Author: Octa Code 9 9 * Author URI: http://octa-code.com 10 10 * Plugin URI: http://acc.magixite.com 11 11 * Copyright: 2015 Octa Code 12 * Last Update: 10/28/202212 * Last Update: 04/20/2024 13 13 * 14 14 * Text Domain: accessibility … … 144 144 { 145 145 if ($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST['action']) && $_POST['action'] == "save_accessibility_settings") { 146 $this->_admin_update_accessibility_settings(); 146 if (isset($_POST['form_nonce']) && wp_verify_nonce($_POST['form_nonce'],'oc-accessibility') && is_user_logged_in()) { 147 $this->_admin_update_accessibility_settings(); 148 } else { 149 echo '<p>Error: Goodbye hackers! Better luck next time. </p>'; 150 } 147 151 } 148 152 … … 156 160 // update_post_meta($pid, '_wp_attachment_image_alt', $palt); 157 161 if ($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST['action']) && $_POST['action'] == "save_accessibility_attachments_settings") { 158 $this->_admin_update_attachments(); 162 if (isset($_POST['form_nonce']) && wp_verify_nonce($_POST['form_nonce'],'oc-accessibility') && is_user_logged_in()) { 163 $this->_admin_update_attachments(); 164 } else { 165 echo '<p>Error: Goodbye hackers! Better luck next time. </p>'; 166 } 159 167 } 160 168 include "includes/accessibility-attachments-alt.php"; … … 238 246 * Post form action for the update prices for brand. 239 247 */ 240 function _admin_update_accessibility_settings() 241 { 248 function _admin_update_accessibility_settings() { 242 249 $lkey = sanitize_text_field($_POST["magixite_license"]); 243 250 update_option('oc-accessibility', $lkey); -
accessibility/trunk/changelog.txt
r2806895 r3074321 1 1 == Changelog == 2 2 3 = 1.0. 6=3 = 1.0.7 = 4 4 5 * Security fix: Prevented the plugin from accepting special chars on image attrs.6 * WordPress 6. 0.3compatibility check5 * Security fix: Fix CSRF vulnerability. 6 * WordPress 6.5.2 compatibility check -
accessibility/trunk/includes/accessibility-attachments-alt.php
r2808786 r3074321 118 118 </tbody> 119 119 </table> 120 <input name="form_nonce" type="hidden" value="<?=wp_create_nonce('oc-accessibility')?>" /> 120 121 <p class="submit"> 121 122 <input type="submit" class="button-primary" value="<?php _e('Save Changes', $this->plugin_slug) ?>" /> -
accessibility/trunk/includes/accessibility-settings.php
r2808781 r3074321 26 26 </p> 27 27 <?php else: ?> 28 <p><?php echo esc_html($this->_get_license_message($license_data)); ?></p>28 <p><?php echo $this->_get_license_message($license_data); ?></p> 29 29 <?php endif; ?> 30 30 </td> … … 50 50 </tbody> 51 51 </table> 52 <input name="form_nonce" type="hidden" value="<?=wp_create_nonce('oc-accessibility')?>" /> 52 53 <p class="submit"> 53 54 <input type="submit" class="button-primary" value="<?php _e('Save Changes', $this->plugin_slug) ?>" /> -
accessibility/trunk/readme.txt
r2806895 r3074321 4 4 Tags: accessibility, user1, WAI, WCAG, magixite, octacode, wp accessibility, accessible, widget, plugin, wordpress, access, tool, toolbar, toolkit, wordpress accessible, wordpress accessibility, sidebar, css3, נגישות, הנגשת אתר 5 5 Requires at least: 3.0.1 6 Tested up to: 6. 0.37 Stable tag: 1.0. 66 Tested up to: 6.5.2 7 Stable tag: 1.0.7 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 93 93 Security Optimizations. 94 94 95 = 1.0.6 = 96 Security Fix. 97 95 98 == Upgrade Notice == 96 99 = 1.0 =
Note: See TracChangeset
for help on using the changeset viewer.