Plugin Directory

Changeset 3074321


Ignore:
Timestamp:
04/20/2024 08:43:52 PM (2 years ago)
Author:
ohadsh535
Message:

version 1.0.7

Location:
accessibility
Files:
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • accessibility/tags/1.0.7/accessibility.php

    r2806895 r3074321  
    55 * Plugin Name: Accessibility
    66 * Description: Accessibility Utility Widget - A high quality solution for making your WordPress website accessible ready.
    7  * Version:     1.0.6
     7 * Version:     1.0.7
    88 * Author:      Octa Code
    99 * Author URI: http://octa-code.com
    1010 * Plugin URI: http://acc.magixite.com
    1111 * Copyright:   2015 Octa Code
    12  * Last Update: 10/28/2022
     12 * Last Update: 04/20/2024
    1313 *
    1414 * Text Domain: accessibility
     
    144144        {
    145145            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                }
    147151            }
    148152     
     
    156160            //      update_post_meta($pid, '_wp_attachment_image_alt', $palt);
    157161            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                }
    159167            }
    160168            include "includes/accessibility-attachments-alt.php";
     
    238246         * Post form action for the update prices for brand.
    239247         */
    240         function _admin_update_accessibility_settings()
    241         {
     248        function _admin_update_accessibility_settings() {
    242249            $lkey = sanitize_text_field($_POST["magixite_license"]);
    243250            update_option('oc-accessibility', $lkey);
  • accessibility/tags/1.0.7/changelog.txt

    r2806895 r3074321  
    11== Changelog ==
    22
    3 = 1.0.6 =
     3= 1.0.7 =
    44
    5 * Security fix: Prevented the plugin from accepting special chars on image attrs.
    6 * WordPress 6.0.3 compatibility check
     5* Security fix: Fix CSRF vulnerability.
     6* WordPress 6.5.2 compatibility check
  • accessibility/tags/1.0.7/includes/accessibility-attachments-alt.php

    r2808786 r3074321  
    118118          </tbody>
    119119        </table>
     120        <input name="form_nonce" type="hidden" value="<?=wp_create_nonce('oc-accessibility')?>" />
    120121        <p class="submit">
    121122          <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  
    2626                    </p>
    2727      <?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>
    2929      <?php endif; ?>
    3030                </td>
     
    5050            </tbody>
    5151          </table>
     52          <input name="form_nonce" type="hidden" value="<?=wp_create_nonce('oc-accessibility')?>" />
    5253          <p class="submit">
    5354            <input type="submit" class="button-primary" value="<?php _e('Save Changes', $this->plugin_slug) ?>" />
  • accessibility/tags/1.0.7/readme.txt

    r2806895 r3074321  
    44Tags: accessibility, user1, WAI, WCAG, magixite, octacode, wp accessibility, accessible, widget, plugin, wordpress, access, tool, toolbar, toolkit, wordpress accessible, wordpress accessibility, sidebar, css3, נגישות, הנגשת אתר
    55Requires at least: 3.0.1
    6 Tested up to: 6.0.3
    7 Stable tag: 1.0.6
     6Tested up to: 6.5.2
     7Stable tag: 1.0.7
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    9393Security Optimizations.
    9494
     95= 1.0.6 =
     96Security Fix.
     97
    9598== Upgrade Notice ==
    9699= 1.0 =
  • accessibility/trunk/accessibility.php

    r2806895 r3074321  
    55 * Plugin Name: Accessibility
    66 * Description: Accessibility Utility Widget - A high quality solution for making your WordPress website accessible ready.
    7  * Version:     1.0.6
     7 * Version:     1.0.7
    88 * Author:      Octa Code
    99 * Author URI: http://octa-code.com
    1010 * Plugin URI: http://acc.magixite.com
    1111 * Copyright:   2015 Octa Code
    12  * Last Update: 10/28/2022
     12 * Last Update: 04/20/2024
    1313 *
    1414 * Text Domain: accessibility
     
    144144        {
    145145            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                }
    147151            }
    148152     
     
    156160            //      update_post_meta($pid, '_wp_attachment_image_alt', $palt);
    157161            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                }
    159167            }
    160168            include "includes/accessibility-attachments-alt.php";
     
    238246         * Post form action for the update prices for brand.
    239247         */
    240         function _admin_update_accessibility_settings()
    241         {
     248        function _admin_update_accessibility_settings() {
    242249            $lkey = sanitize_text_field($_POST["magixite_license"]);
    243250            update_option('oc-accessibility', $lkey);
  • accessibility/trunk/changelog.txt

    r2806895 r3074321  
    11== Changelog ==
    22
    3 = 1.0.6 =
     3= 1.0.7 =
    44
    5 * Security fix: Prevented the plugin from accepting special chars on image attrs.
    6 * WordPress 6.0.3 compatibility check
     5* Security fix: Fix CSRF vulnerability.
     6* WordPress 6.5.2 compatibility check
  • accessibility/trunk/includes/accessibility-attachments-alt.php

    r2808786 r3074321  
    118118          </tbody>
    119119        </table>
     120        <input name="form_nonce" type="hidden" value="<?=wp_create_nonce('oc-accessibility')?>" />
    120121        <p class="submit">
    121122          <input type="submit" class="button-primary" value="<?php _e('Save Changes', $this->plugin_slug) ?>" />
  • accessibility/trunk/includes/accessibility-settings.php

    r2808781 r3074321  
    2626                    </p>
    2727      <?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>
    2929      <?php endif; ?>
    3030                </td>
     
    5050            </tbody>
    5151          </table>
     52          <input name="form_nonce" type="hidden" value="<?=wp_create_nonce('oc-accessibility')?>" />
    5253          <p class="submit">
    5354            <input type="submit" class="button-primary" value="<?php _e('Save Changes', $this->plugin_slug) ?>" />
  • accessibility/trunk/readme.txt

    r2806895 r3074321  
    44Tags: accessibility, user1, WAI, WCAG, magixite, octacode, wp accessibility, accessible, widget, plugin, wordpress, access, tool, toolbar, toolkit, wordpress accessible, wordpress accessibility, sidebar, css3, נגישות, הנגשת אתר
    55Requires at least: 3.0.1
    6 Tested up to: 6.0.3
    7 Stable tag: 1.0.6
     6Tested up to: 6.5.2
     7Stable tag: 1.0.7
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    9393Security Optimizations.
    9494
     95= 1.0.6 =
     96Security Fix.
     97
    9598== Upgrade Notice ==
    9699= 1.0 =
Note: See TracChangeset for help on using the changeset viewer.