WordPress.org

Plugin Directory

Changeset 638923


Ignore:
Timestamp:
12/14/12 01:18:59 (17 months ago)
Author:
joedolson
Message:

Minor feature update, compatibility updated to 3.5, added Twitter button.

Location:
wp-accessibility/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-accessibility/trunk/readme.txt

    r634696 r638923  
    44Tags: title, accessibility, accessible, navigation, wcag, a11y 
    55Requires at least: 3.4.2 
    6 Tested up to: 3.4.2 
     6Tested up to: 3.5.0 
    77Stable tag: trunk 
    88License: GPLv2 or later 
    99 
    10 WP Accessibility provides options to improve accessibility issues in your WordPress site.  
     10WP Accessibility provides features that fix accessibility issues in your WordPress site.  
    1111 
    1212== Description == 
     
    4343 
    4444== Changelog == 
     45 
     46= 1.1.2 = 
     47 
     48* Update support statement to WP 3.5.0 
     49* Add role='navigation' to skiplinks container. 
    4550 
    4651= 1.1.1 = 
  • wp-accessibility/trunk/wp-accessibility.php

    r627427 r638923  
    44Plugin URI: http://www.joedolson.com/articles/wp-accessibility/ 
    55Description: Provides options to improve accessibility in your WordPress site, including removing title attributes. 
    6 Version: 1.1.1 
     6Version: 1.1.2 
    77Author: Joe Dolson 
    88Author URI: http://www.joedolson.com/ 
     
    3939// ACTIVATION 
    4040function wpa_install() { 
    41     $wpa_version = '1.1.1'; 
     41    $wpa_version = '1.1.2'; 
    4242    if ( get_option('wpa_installed') != 'true' ) { 
    4343        add_option('rta_from_nav_menu', 'on'); 
     
    174174        if ( $html != '' && $visibility == 'wpa-visible' ) { $sep = "<span> &bull; </span>"; } else { $sep = ''; }   
    175175    $html .= ( $extra != '' && $extra_text != '' )?"$sep <a href=\"$extra\">$extra_text</a>":''; 
    176     $output = ($html != '')?"<div class=\"$visibility\" id=\"skiplinks\">$html</div>":''; 
     176    $output = ($html != '')?"<div class=\"$visibility\" id=\"skiplinks\" role=\"navigation\">$html</div>":''; 
    177177        $skiplinks_js = ( $output )?"$('body').prepend('$output');":''; 
    178178    // attach language to html element 
     
    620620                <h3><?php _e('Support this Plugin','wp-accessibility'); ?></h3> 
    621621                <div class="inside"> 
     622                    <p> 
     623                    <a href="https://twitter.com/intent/tweet?screen_name=joedolson&text=WP%20Accessibility" class="twitter-mention-button" data-size="large" data-related="joedolson">Tweet to @joedolson</a> 
     624                    <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> 
     625                    </p> 
    622626                    <p><?php _e("If you've found WP Accessibility useful, then please consider <a href='http://wordpress.org/extend/plugins/wp-accessibility/'>rating it five stars</a>, <a href='http://www.joedolson.com/donate.php'>making a donation</a>, or <a href='http://translate.joedolson.com/projects/wp-accessibility'>helping with translation</a>.",'wp-accessibility'); ?></p> 
    623627                            <div> 
     
    794798    $wp_version = get_bloginfo('version'); 
    795799    $home_url = home_url(); 
    796     $wp_url = get_bloginfo('wpurl'); 
     800    $wp_url = site_url(); 
    797801    $language = get_bloginfo('language'); 
    798802    $charset = get_bloginfo('charset'); 
Note: See TracChangeset for help on using the changeset viewer.