Changeset 2907558
- Timestamp:
- 05/03/2023 02:52:50 PM (3 years ago)
- Location:
- enable-accessibility
- Files:
-
- 15 added
- 4 edited
-
tags/1.4.1 (added)
-
tags/1.4.1/LICENSE.txt (added)
-
tags/1.4.1/assets (added)
-
tags/1.4.1/assets/css (added)
-
tags/1.4.1/assets/css/admin-style.css (added)
-
tags/1.4.1/assets/images (added)
-
tags/1.4.1/enable-accessibility.php (added)
-
tags/1.4.1/includes (added)
-
tags/1.4.1/includes/accessibility-attachments-alt.php (added)
-
tags/1.4.1/includes/accessibility-settings.php (added)
-
tags/1.4.1/includes/class-accesibility-loader.php (added)
-
tags/1.4.1/languages (added)
-
tags/1.4.1/languages/enable-accessibility-he_IL.mo (added)
-
tags/1.4.1/languages/enable-accessibility-he_IL.po (added)
-
tags/1.4.1/readme.txt (added)
-
trunk/enable-accessibility.php (modified) (5 diffs)
-
trunk/includes/accessibility-attachments-alt.php (modified) (3 diffs)
-
trunk/includes/accessibility-settings.php (modified) (1 diff)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
enable-accessibility/trunk/enable-accessibility.php
r2657027 r2907558 3 3 * Plugin Name: Enable Accessibility 4 4 * Description: Enable Accessibility is a beautiful Advanced Toolbar that gives you great tools for fixing a common accessibility problems in WordPress themes.. 5 * Version: 1.4 5 * Version: 1.4.1 6 6 * Author: uPress 7 7 * Author URI: https://www.upress.co.il … … 9 9 * License: GPLv2 or later 10 10 * License URI: http://www.gnu.org/licenses/gpl-2.0.html 11 * 11 * 12 12 * Text Domain: enable-accessibility 13 13 * Domain Path: /languages/ … … 53 53 $this->plugin_slug = 'enable-accessibility'; 54 54 load_plugin_textdomain( $this->plugin_slug, false, basename( dirname( __FILE__ ) ) . '/languages/' ); 55 $this->version = '1.4 ';55 $this->version = '1.4.1'; 56 56 57 57 $this->kses_allowed_html = array( … … 192 192 public function accessibility_settings_page() { 193 193 if ( $_SERVER["REQUEST_METHOD"] == "POST" && isset( $_POST['action'] ) && $_POST['action'] == "save_accessibility_settings" ) { 194 if ( ! wp_verify_nonce( (!empty($_POST['_wpnonce']) ? $_POST['_wpnonce'] : ''), 'save_accessibility_settings' ) ) { 195 wp_die( 'Not authorized' ); 196 } 197 194 198 $this->_admin_update_accessibility_settings(); 195 199 } … … 210 214 // update_post_meta($pid, '_wp_attachment_image_alt', $palt); 211 215 if ( $_SERVER["REQUEST_METHOD"] == "POST" && isset( $_POST['action'] ) && $_POST['action'] == "save_accessibility_attachments_settings" ) { 216 if ( ! wp_verify_nonce( (!empty($_POST['_wpnonce']) ? $_POST['_wpnonce'] : ''), 'save_accessibility_attachments_settings' ) ) { 217 wp_die( 'Not authorized' ); 218 } 219 212 220 $this->_admin_update_attachments(); 213 221 } -
enable-accessibility/trunk/includes/accessibility-attachments-alt.php
r1619407 r2907558 36 36 $without_alt ++; 37 37 } 38 if ( false === wp_get_attachment_image_src( $a->ID ) ) { 39 $skip_post = true; 40 } 38 41 39 42 if ( ! $skip_post ) { … … 41 44 'post_id' => (int)$a->ID, 42 45 'meta_alt' => sanitize_text_field( $alt_meta ), 43 'src' => wp_get_attachment_image_src( $a->ID ) [0],46 'src' => wp_get_attachment_image_src( $a->ID ) ? wp_get_attachment_image_src( $a->ID )[0] : '', 44 47 'post_title' => sanitize_text_field( $a->post_title ), 45 48 'view_url' => get_permalink( $a->ID ), … … 82 85 </div> 83 86 <input type="hidden" name="action" value="save_accessibility_attachments_settings"> 87 <?php wp_nonce_field( 'save_accessibility_attachments_settings' ); ?> 84 88 <table class="wp-list-table widefat fixed striped oct-admin-table oct-filter-<?php echo esc_attr( $oct_filter ); ?>"> 85 89 <thead> -
enable-accessibility/trunk/includes/accessibility-settings.php
r1829232 r2907558 16 16 <h2><?php esc_html_e( 'General Options', 'enable-accessibility' ) ?></h2> 17 17 <input type="hidden" name="action" value="save_accessibility_settings"> 18 <?php wp_nonce_field( 'save_accessibility_settings' ); ?> 18 19 <table class="form-table oc-accessibilty-style"> 19 20 <tbody> -
enable-accessibility/trunk/readme.txt
r2657027 r2907558 5 5 Tags: accessibity, user1, WAI, WCAG, wp accessibility, accessible, widget, plugin, wordpress, access, tool, toolbar, toolkit, wordpress accessible, wordpress accessibility, sidebar, css3, נגישות, הנגשת אתר 6 6 Requires at least: 3.0.1 7 Tested up to: 5.97 Tested up to: 6.2 8 8 Stable tag: trunk 9 9 License: GPLv2 or later … … 19 19 = Accessibility key features = 20 20 * Font Size Control 21 * Keyboard Navigation 22 * Contrast displays: High contrast / Black and White / Black and Yellow. 21 * Keyboard Navigation 22 * Contrast displays: High contrast / Black and White / Black and Yellow. 23 23 * Links Highlight 24 24 * Stop Animations … … 62 62 63 63 == Changelog == 64 = 1.4.1 = 65 * Fix CSRF issue 66 * Bump tested up to version 67 64 68 = 1.4 = 65 69 * Remove useless license check cron
Note: See TracChangeset
for help on using the changeset viewer.