Plugin Directory

Changeset 1728963


Ignore:
Timestamp:
09/12/2017 10:07:33 PM (8 years ago)
Author:
rinatkhaziev
Message:

Merging 1.3 from github

Location:
frontend-uploader/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • frontend-uploader/trunk/frontend-uploader.php

    r1699139 r1728963  
    44Description: Allow your visitors to upload content and moderate it.
    55Author: Rinat Khaziev, Daniel Bachhuber
    6 Version: 1.2.2
     6Version: 1.3
    77Author URI: http://digitallyconscious.com
    88
     
    2626
    2727// Define consts and bootstrap and dependencies
    28 define( 'FU_VERSION', '1.2.2' );
     28define( 'FU_VERSION', '1.3' );
    2929define( 'FU_ROOT' , dirname( __FILE__ ) );
    3030define( 'FU_FILE_PATH' , FU_ROOT . '/' . basename( __FILE__ ) );
  • frontend-uploader/trunk/lib/php/class-html-helper.php

    r1402587 r1728963  
    189189     */
    190190    function _allowed_html_attrs() {
    191         return apply_filters( 'hh_allowed_html_attributes', array( 'href', 'maxlength', 'minlength', 'class', 'id', 'value', 'action', 'name', 'method', 'selected', 'checked', 'for', 'multiple', 'required', 'aria-required' ) );
     191        return apply_filters( 'hh_allowed_html_attributes', array(
     192            'href',
     193            'maxlength',
     194            'minlength',
     195            'class',
     196            'id',
     197            'value',
     198            'action',
     199            'name',
     200            'method',
     201            'selected',
     202            'checked',
     203            'for',
     204            'multiple',
     205            'required',
     206            'aria-required',
     207            'readonly',
     208            'autocomplete',
     209            'disabled',
     210            'min',
     211            'max',
     212            'placeholder',
     213
     214        ) );
    192215    }
    193216}
  • frontend-uploader/trunk/readme.txt

    r1699139 r1728963  
    44Tags: frontend, image, images, media, uploader, upload, video, audio, photo, photos, picture, pictures, file, user generated content, ugc, frontend upload
    55Requires at least: 4.1
    6 Tested up to: 4.8
    7 Stable tag: 1.2.2
     6Tested up to: 4.8.1
     7Stable tag: 1.3
    88License: GPLv2 or later
    99
     
    138138`id` - id of element
    139139
    140 `name` - name of element1
     140`name` - name of element
    141141
    142142`class` - extra classes you want to add
     
    144144`type` - text or file or submit
    145145
    146 `required` - whether the field is required
     146`required` - This attribute specifies that the user must fill in a value before submitting a form.
    147147
    148148`minlength` - minimum amount of characters for field value
    149149
    150 `maxlength` - maximum  amount of characters for field value
     150`maxlength` - maximum amount of characters for field value
     151
     152`min` - The minimum (numeric or date-time) value for this item, which must not be greater than its maximum (max attribute) value.
     153
     154`max` - The maximum (numeric or date-time) value for this item, which must not be less than its minimum (min attribute) value.
    151155
    152156`multiple` - allow multiple file uploads (only for file inputs)
    153157
     158`placeholder` - A hint to the user of what can be entered in the control.
     159
     160`readonly` - This attribute indicates that the user cannot modify the value of the control.
     161
     162`disabled` - This Boolean attribute indicates that the form control is not available for interaction
     163
     164`value` - input value
     165
    154166`description` - input label
    155167
    156168`help` - input help text displayed underneath
    157 
    158 `value` - input value
    159169
    160170`values` - multiple option inputs (checkboxes,select,radio) values in format *value:description, another_value:anotherdescription*
     
    331341== Changelog ==
    332342
     343= 1.3 (Sep 12, 2017 )
     344* Add HTML5 attributes - min, max, placeholder, readonly, disabled
     345
    333346= 1.2.2 (Jul 19, 2017) =
    334347* Fix broken pagination in list tables
Note: See TracChangeset for help on using the changeset viewer.