Changeset 3491383
- Timestamp:
- 03/26/2026 02:43:15 AM (11 days ago)
- Location:
- wp-accessibility
- Files:
-
- 58 added
- 1 deleted
- 3 edited
-
tags/2.3.1 (deleted)
-
tags/2.3.3 (added)
-
tags/2.3.3/changelog.txt (added)
-
tags/2.3.3/class-wp-accessibility-toolbar.php (added)
-
tags/2.3.3/css (added)
-
tags/2.3.3/css/diagnostic-head.css (added)
-
tags/2.3.3/css/diagnostic.css (added)
-
tags/2.3.3/css/editor-style-rtl.css (added)
-
tags/2.3.3/css/editor-style.css (added)
-
tags/2.3.3/css/wpa-style.css (added)
-
tags/2.3.3/css/wpa-styles.css (added)
-
tags/2.3.3/gpl.txt (added)
-
tags/2.3.3/imgs (added)
-
tags/2.3.3/imgs/Equalize-Digital-Accessibility-Emblem-400x400-1.png (added)
-
tags/2.3.3/imgs/awd-logo-disc.png (added)
-
tags/2.3.3/imgs/linkedin.png (added)
-
tags/2.3.3/js (added)
-
tags/2.3.3/js/wp-accessibility.js (added)
-
tags/2.3.3/js/wp-accessibility.min.js (added)
-
tags/2.3.3/js/wpa-admin.js (added)
-
tags/2.3.3/js/wpa-toolbar.js (added)
-
tags/2.3.3/js/wpa-toolbar.min.js (added)
-
tags/2.3.3/readme.txt (added)
-
tags/2.3.3/templates (added)
-
tags/2.3.3/templates/longdesc-template.php (added)
-
tags/2.3.3/toolbar (added)
-
tags/2.3.3/toolbar/css (added)
-
tags/2.3.3/toolbar/css/a11y-contrast.css (added)
-
tags/2.3.3/toolbar/css/a11y-fontsize-alt.css (added)
-
tags/2.3.3/toolbar/css/a11y-fontsize.css (added)
-
tags/2.3.3/toolbar/css/a11y.css (added)
-
tags/2.3.3/toolbar/fonts (added)
-
tags/2.3.3/toolbar/fonts/css (added)
-
tags/2.3.3/toolbar/fonts/css/PNG (added)
-
tags/2.3.3/toolbar/fonts/css/PNG/icon-contrast.png (added)
-
tags/2.3.3/toolbar/fonts/css/PNG/icon-fontsize.png (added)
-
tags/2.3.3/toolbar/fonts/css/PNG/icon-saturation.png (added)
-
tags/2.3.3/toolbar/fonts/css/SVG (added)
-
tags/2.3.3/toolbar/fonts/css/SVG/icon-contrast.svg (added)
-
tags/2.3.3/toolbar/fonts/css/SVG/icon-fontsize.svg (added)
-
tags/2.3.3/toolbar/fonts/css/SVG/icon-saturation.svg (added)
-
tags/2.3.3/toolbar/fonts/css/a11y-toolbar.css (added)
-
tags/2.3.3/toolbar/fonts/css/a11y.eot (added)
-
tags/2.3.3/toolbar/fonts/css/a11y.svg (added)
-
tags/2.3.3/toolbar/fonts/css/a11y.ttf (added)
-
tags/2.3.3/toolbar/fonts/css/a11y.woff (added)
-
tags/2.3.3/toolbar/fonts/css/a11y.woff2 (added)
-
tags/2.3.3/toolbar/fonts/css/selection.json (added)
-
tags/2.3.3/uninstall.php (added)
-
tags/2.3.3/wp-accessibility-admin.php (added)
-
tags/2.3.3/wp-accessibility-alt.php (added)
-
tags/2.3.3/wp-accessibility-contrast.php (added)
-
tags/2.3.3/wp-accessibility-help.php (added)
-
tags/2.3.3/wp-accessibility-longdesc.php (added)
-
tags/2.3.3/wp-accessibility-overlay.php (added)
-
tags/2.3.3/wp-accessibility-settings.php (added)
-
tags/2.3.3/wp-accessibility-stats.php (added)
-
tags/2.3.3/wp-accessibility-toolbar.php (added)
-
tags/2.3.3/wp-accessibility.php (added)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/wp-accessibility-stats.php (modified) (1 diff)
-
trunk/wp-accessibility.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-accessibility/trunk/readme.txt
r3464593 r3491383 6 6 Tested up to: 6.9 7 7 Requires PHP: 7.4 8 Stable tag: 2.3. 28 Stable tag: 2.3.3 9 9 Text Domain: wp-accessibility 10 10 License: GPLv3 … … 82 82 83 83 [Suggest a change!](https://github.com/joedolson/wp-accessibility/issues/) 84 85 = 2.3.3 = 86 87 * Bug fix: Set a default option value for `wpa_track_stats` in option call, to fix issue caused by strict type checking. 88 * Bug fix: Prevent escaped strings in search output from bypassing empty search checks. Props @stevejonesdev. 84 89 85 90 = 2.3.2 = -
wp-accessibility/trunk/wp-accessibility-stats.php
r3356370 r3491383 75 75 */ 76 76 function wpa_add_stats( $stats, $title, $type = 'view', $post_ID = 0 ) { 77 $admin_only = ( '' === get_option( 'wpa_track_stats' ) ) ? true : false;77 $admin_only = ( '' === get_option( 'wpa_track_stats', '' ) ) ? true : false; 78 78 if ( $admin_only && ! current_user_can( 'manage_options' ) ) { 79 79 return; -
wp-accessibility/trunk/wp-accessibility.php
r3464593 r3491383 18 18 * License: GPL-2.0+ 19 19 * License URI: http://www.gnu.org/license/gpl-2.0.txt 20 * Version: 2.3. 220 * Version: 2.3.3 21 21 */ 22 22 … … 53 53 } 54 54 55 define( 'WP_ACCESSIBILITY_VERSION', '2.3. 2' );55 define( 'WP_ACCESSIBILITY_VERSION', '2.3.3' ); 56 56 57 57 register_activation_hook( __FILE__, 'wpa_install' ); … … 466 466 */ 467 467 $errors_enabled = apply_filters( 'wpa_view_remediation_logs', current_user_can( 'manage_options' ) ); 468 $track = ( '' === get_option( 'wpa_track_stats' ) ) ? current_user_can( 'manage_options' ) : true;468 $track = ( '' === get_option( 'wpa_track_stats', '' ) ) ? current_user_can( 'manage_options' ) : true; 469 469 $track = ( 'off' === get_option( 'wpa_track_stats' ) ) ? false : $track; 470 470 /** … … 627 627 $query->set( 'is_search', 1 ); 628 628 add_action( 'template_include', 'wpa_search_error' ); 629 add_filter( 630 'get_search_query', 631 function ( $search_query ) { 632 if ( ' ' === $search_query ) { 633 return ''; 634 } 635 return $search_query; 636 } 637 ); 629 638 } 630 639 }
Note: See TracChangeset
for help on using the changeset viewer.