WordPress.org

Plugin Directory

Changeset 627427


Ignore:
Timestamp:
11/20/12 00:05:52 (17 months ago)
Author:
joedolson
Message:

Minor bug fixes

Location:
wp-accessibility/trunk
Files:
3 edited

Legend:

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

    r618053 r627427  
    4343== Changelog == 
    4444 
     45= 1.1.1 = 
     46 
     47* Bug fix: extra template loaded when search template is inserted. 
     48* Bug fix: jQuery not always loaded when required. 
     49 
    4550= 1.1.0 = 
    4651 
  • wp-accessibility/trunk/uninstall.php

    r615802 r627427  
    11<?php 
    22if ( !defined( 'ABSPATH' ) && !defined( 'WP_UNINSTALL_PLUGIN' ) ) { 
    3 exit(); 
     3    exit(); 
    44} else { 
    5 delete_option( 'rta_from_nav_menu'); 
    6 delete_option( 'rta_from_page_lists'); 
    7 delete_option( 'rta_from_category_lists'); 
    8 delete_option( 'rta_from_archive_links'); 
    9 delete_option( 'rta_from_tag_clouds'); 
    10 delete_option( 'rta_from_category_links'); 
    11 delete_option( 'rta_from_post_edit_links'); 
    12 delete_option( 'rta_from_edit_comment_links'); 
    13 delete_option( 'wpa_installed' ); 
    14 delete_option( 'wpa_version' ); 
    15 delete_option( 'asl_enable' ); 
    16 delete_option( 'asl_content' ); 
    17 delete_option( 'asl_navigation' ); 
    18 delete_option( 'asl_sitemap' ); 
    19 delete_option( 'asl_extra_target' ); 
    20 delete_option( 'asl_extra_text' ); 
    21 delete_option( 'asl_visible' ); 
    22 delete_option( 'asl_styles_focus' ); 
    23 delete_option( 'asl_styles_passive' );       
    24 delete_option( 'wpa_lang' ); 
    25 delete_option( 'wpa_target' ); 
    26 delete_option( 'wpa_search' ); 
    27 delete_option( 'wpa_tabindex' ); 
    28 delete_option( 'wpa_more' ); 
    29 delete_option( 'wpa_continue' ); 
     5    delete_option( 'rta_from_nav_menu'); 
     6    delete_option( 'rta_from_page_lists'); 
     7    delete_option( 'rta_from_category_lists'); 
     8    delete_option( 'rta_from_archive_links'); 
     9    delete_option( 'rta_from_tag_clouds'); 
     10    delete_option( 'rta_from_category_links'); 
     11    delete_option( 'rta_from_post_edit_links'); 
     12    delete_option( 'rta_from_edit_comment_links'); 
     13    delete_option( 'wpa_installed' ); 
     14    delete_option( 'wpa_version' ); 
     15    delete_option( 'asl_enable' ); 
     16    delete_option( 'asl_content' ); 
     17    delete_option( 'asl_navigation' ); 
     18    delete_option( 'asl_sitemap' ); 
     19    delete_option( 'asl_extra_target' ); 
     20    delete_option( 'asl_extra_text' ); 
     21    delete_option( 'asl_visible' ); 
     22    delete_option( 'asl_styles_focus' ); 
     23    delete_option( 'asl_styles_passive' );       
     24    delete_option( 'wpa_lang' ); 
     25    delete_option( 'wpa_target' ); 
     26    delete_option( 'wpa_search' ); 
     27    delete_option( 'wpa_tabindex' ); 
     28    delete_option( 'wpa_more' ); 
     29    delete_option( 'wpa_continue' ); 
    3030} 
  • wp-accessibility/trunk/wp-accessibility.php

    r618053 r627427  
    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.0 
     6Version: 1.1.1 
    77Author: Joe Dolson 
    88Author URI: http://www.joedolson.com/ 
     
    3939// ACTIVATION 
    4040function wpa_install() { 
    41     $wpa_version = '1.1.0'; 
     41    $wpa_version = '1.1.1'; 
    4242    if ( get_option('wpa_installed') != 'true' ) { 
    4343        add_option('rta_from_nav_menu', 'on'); 
     
    111111 
    112112add_action( 'wp_head', 'wpa_css' ); 
     113add_action( 'wp_enqueue_scripts', 'wpa_core_scripts' ); 
     114 
     115function wpa_core_scripts() { 
     116    wp_enqueue_script( 'jquery' ); 
     117} 
    113118 
    114119function wpa_enqueue_scripts() { 
     
    396401    if ( $search ) { 
    397402        load_template( $search ); 
     403        exit; 
    398404    } 
    399405} 
Note: See TracChangeset for help on using the changeset viewer.