Skip to content

Commit 355824e

Browse files
committed
Rename constant; more likely to be unique.
1 parent fd95004 commit 355824e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/wp-accessibility.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
require_once __DIR__ . '/wp-accessibility-stats.php';
5151
}
5252

53-
define( 'WPA_VERSION', '2.2.0' );
53+
define( 'WP_ACCESSIBILITY_VERSION', '2.2.0' );
5454

5555
register_activation_hook( __FILE__, 'wpa_install' );
5656

@@ -113,7 +113,7 @@ function wpa_install() {
113113
*/
114114
function wpa_check_version() {
115115
// upgrade for version 1.3.0.
116-
$version = WPA_VERSION;
116+
$version = WP_ACCESSIBILITY_VERSION;
117117
if ( version_compare( $version, '1.3.0', '<' ) ) {
118118
add_option( 'wpa_longdesc', 'button' );
119119
}

0 commit comments

Comments
 (0)