WP Accessibility - Version 1.6.3

Version Description

  • Bug fix: incorrect function name
  • Bug fix: don't use POST data directly when value is known
Download this release

Release Info

Developer joedolson
Plugin Icon 128x128 WP Accessibility
Version 1.6.3
Comparing to
See all releases

Code changes from version 1.6.2 to 1.6.3

readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: title, accessibility, accessible, navigation, wcag, a11y, section508, focu
5
Requires at least: 3.4.2
6
Requires PHP: 5.3
7
Tested up to: 4.9
8
- Stable tag: 1.6.2
9
Text Domain: wp-accessibility
10
License: GPLv2 or later
11
@@ -65,6 +65,11 @@ The plug-in is intended to help with deficiencies commonly found in themes and t
65
[Suggest a change!](https://github.com/joedolson/wp-accessibility/issues/)
66
* Conflict with NextGen gallery to explore
67
68
= 1.6.2 =
69
70
* Removed 'ScrollTo' JS.
5
Requires at least: 3.4.2
6
Requires PHP: 5.3
7
Tested up to: 4.9
8
+ Stable tag: 1.6.3
9
Text Domain: wp-accessibility
10
License: GPLv2 or later
11
65
[Suggest a change!](https://github.com/joedolson/wp-accessibility/issues/)
66
* Conflict with NextGen gallery to explore
67
68
+ = 1.6.3 =
69
+
70
+ * Bug fix: incorrect function name
71
+ * Bug fix: don't use POST data directly when value is known
72
+
73
= 1.6.2 =
74
75
* Removed 'ScrollTo' JS.
templates/longdesc-template.php CHANGED
@@ -32,7 +32,7 @@
32
if ( isset( $_GET['referrer'] ) ) {
33
$uri = get_permalink( (int) $_GET['referrer'] );
34
if ( ! empty( $uri ) ) {
35
- $uri .= '#' . longdesc_return_anchor( get_the_ID() );
36
print '<p><a href="' . esc_url( $uri ) . '">' . esc_html__( 'Return to article.', 'wp-accessibility' ) . '</a></p>';
37
}
38
}
32
if ( isset( $_GET['referrer'] ) ) {
33
$uri = get_permalink( (int) $_GET['referrer'] );
34
if ( ! empty( $uri ) ) {
35
+ $uri .= '#' . wpa_longdesc_return_anchor( get_the_ID() );
36
print '<p><a href="' . esc_url( $uri ) . '">' . esc_html__( 'Return to article.', 'wp-accessibility' ) . '</a></p>';
37
}
38
}
wp-accessibility-settings.php CHANGED
@@ -108,7 +108,7 @@ function wpa_update_settings() {
108
$wpa_tabindex = ( isset( $_POST['wpa_tabindex'] ) ) ? 'on' : '';
109
$wpa_underline = ( isset( $_POST['wpa_underline'] ) ) ? 'on' : '';
110
$wpa_longdesc = ( isset( $_POST['wpa_longdesc'] ) ) ? esc_attr( $_POST['wpa_longdesc'] ) : 'false';
111
- $wpa_current_menu = ( isset( $_POST['wpa_current_menu'] ) ) ? esc_attr( $_POST['wpa_current_menu'] ) : '';
112
$wpa_longdesc_featured = ( isset( $_POST['wpa_longdesc_featured'] ) ) ? esc_attr( $_POST['wpa_longdesc_featured'] ) : 'false';
113
$wpa_image_titles = ( isset( $_POST['wpa_image_titles'] ) ) ? 'on' : '';
114
$wpa_more = ( isset( $_POST['wpa_more'] ) ) ? 'on' : '';
108
$wpa_tabindex = ( isset( $_POST['wpa_tabindex'] ) ) ? 'on' : '';
109
$wpa_underline = ( isset( $_POST['wpa_underline'] ) ) ? 'on' : '';
110
$wpa_longdesc = ( isset( $_POST['wpa_longdesc'] ) ) ? esc_attr( $_POST['wpa_longdesc'] ) : 'false';
111
+ $wpa_current_menu = ( isset( $_POST['wpa_current_menu'] ) ) ? 'on' : '';
112
$wpa_longdesc_featured = ( isset( $_POST['wpa_longdesc_featured'] ) ) ? esc_attr( $_POST['wpa_longdesc_featured'] ) : 'false';
113
$wpa_image_titles = ( isset( $_POST['wpa_image_titles'] ) ) ? 'on' : '';
114
$wpa_more = ( isset( $_POST['wpa_more'] ) ) ? 'on' : '';
wp-accessibility.php CHANGED
@@ -17,7 +17,7 @@
17
* Domain Path: /lang
18
* License: GPL-2.0+
19
* License URI: http://www.gnu.org/license/gpl-2.0.txt
20
- * Version: 1.6.2
21
*/
22
23
/*
@@ -68,7 +68,7 @@ function wpa_admin_menu() {
68
* Install on activation.
69
*/
70
function wpa_install() {
71
- $wpa_version = '1.6.2';
72
if ( 'true' != get_option( 'wpa_installed' ) ) {
73
add_option( 'rta_from_nav_menu', 'on' );
74
add_option( 'rta_from_page_lists', 'on' );
17
* Domain Path: /lang
18
* License: GPL-2.0+
19
* License URI: http://www.gnu.org/license/gpl-2.0.txt
20
+ * Version: 1.6.3
21
*/
22
23
/*
68
* Install on activation.
69
*/
70
function wpa_install() {
71
+ $wpa_version = '1.6.3';
72
if ( 'true' != get_option( 'wpa_installed' ) ) {
73
add_option( 'rta_from_nav_menu', 'on' );
74
add_option( 'rta_from_page_lists', 'on' );