Plugin Directory

Changeset 3151295


Ignore:
Timestamp:
09/13/2024 09:50:54 AM (19 months ago)
Author:
seshelby
Message:

Releasing version 1.0.11

Location:
simple-accessible-forms
Files:
11 added
3 edited

Legend:

Unmodified
Added
Removed
  • simple-accessible-forms/trunk/readme.txt

    r3143542 r3151295  
    88License: GPLv3 or later
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
    10 Stable tag: 1.0.10
     10Stable tag: 1.0.11
    1111
    1212== Description ==
     
    5555
    5656== Changelog ==
     57= 1.0.11 =
     581. added automatic correction of empty option tags
     591. corrected undefined array key error when loading form builder
     60
    5761= 1.0.10 =
    58621. corrected validation issue on multiselect dropdowns
  • simple-accessible-forms/trunk/scripts/jquery_form_validation.js

    r3143542 r3151295  
    115115}
    116116}
     117});
     118
     119
     120// correct empty option tags
     121jQuery('form[id='+jquery_form_validation_form_name+'] select option').each(function() {
     122  console.log(jQuery(this).text());
     123  if(jQuery(this).text() === '') jQuery(this).text('Select an Option');
     124 
    117125});
    118126}, 400);
  • simple-accessible-forms/trunk/simple-accessible-forms.php

    r3143542 r3151295  
    44 * Plugin URI: https://wordpress.org/plugins/simple-accessible-forms/
    55 * Description: Easily make any html form accessible using the Simple Accessible Forms Plugin. The Simple Accessible Forms Plugin allows you to define form field validation information which will be used to add the necessary features to make the form accessible. It will add form field labels, required field markings, add form field validation and display screen reader friendly error message when a user navigates away from a field, moves focus to the first field in error in the event of a form submission failure.
    6  * Version: 1.0.10
     6 * Version: 1.0.11
    77 * Author: AlumniOnline Web Services LLC
    88 * Author URI: https://www.alumnionlineservices.com/php-scripts/simple-accessible-forms/
     
    180180    ?>
    181181</form>
    182 <?php
    183     if ( ! isset( $_REQUEST['_wpnonce'] ) && wp_verify_nonce( sanitize_key( $_REQUEST['_wpnonce'] ) ) ) {
     182    <?php
     183    if ( ! isset( $_REQUEST['_wpnonce'] ) || wp_verify_nonce( sanitize_key( $_REQUEST['_wpnonce'] ) ) ) {
    184184        echo '</div>';
    185185    }
     
    909909            if ( '' !== $row['formid'] && '' !== $row['formurl'] ) {
    910910                $path = parse_url( $row['formurl'], PHP_URL_PATH );
    911    
     911
    912912                if ( strstr( $serveruri, $path ) ) {
    913913                    echo " ['" . esc_attr( $row['formid'] ) . "', '" . esc_attr( $row['formnicename'] ) . "',";
Note: See TracChangeset for help on using the changeset viewer.