Changeset 1728963
- Timestamp:
- 09/12/2017 10:07:33 PM (8 years ago)
- Location:
- frontend-uploader/trunk
- Files:
-
- 3 edited
-
frontend-uploader.php (modified) (2 diffs)
-
lib/php/class-html-helper.php (modified) (1 diff)
-
readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
frontend-uploader/trunk/frontend-uploader.php
r1699139 r1728963 4 4 Description: Allow your visitors to upload content and moderate it. 5 5 Author: Rinat Khaziev, Daniel Bachhuber 6 Version: 1. 2.26 Version: 1.3 7 7 Author URI: http://digitallyconscious.com 8 8 … … 26 26 27 27 // Define consts and bootstrap and dependencies 28 define( 'FU_VERSION', '1. 2.2' );28 define( 'FU_VERSION', '1.3' ); 29 29 define( 'FU_ROOT' , dirname( __FILE__ ) ); 30 30 define( 'FU_FILE_PATH' , FU_ROOT . '/' . basename( __FILE__ ) ); -
frontend-uploader/trunk/lib/php/class-html-helper.php
r1402587 r1728963 189 189 */ 190 190 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 ) ); 192 215 } 193 216 } -
frontend-uploader/trunk/readme.txt
r1699139 r1728963 4 4 Tags: frontend, image, images, media, uploader, upload, video, audio, photo, photos, picture, pictures, file, user generated content, ugc, frontend upload 5 5 Requires at least: 4.1 6 Tested up to: 4.8 7 Stable tag: 1. 2.26 Tested up to: 4.8.1 7 Stable tag: 1.3 8 8 License: GPLv2 or later 9 9 … … 138 138 `id` - id of element 139 139 140 `name` - name of element 1140 `name` - name of element 141 141 142 142 `class` - extra classes you want to add … … 144 144 `type` - text or file or submit 145 145 146 `required` - whether the field is required146 `required` - This attribute specifies that the user must fill in a value before submitting a form. 147 147 148 148 `minlength` - minimum amount of characters for field value 149 149 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. 151 155 152 156 `multiple` - allow multiple file uploads (only for file inputs) 153 157 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 154 166 `description` - input label 155 167 156 168 `help` - input help text displayed underneath 157 158 `value` - input value159 169 160 170 `values` - multiple option inputs (checkboxes,select,radio) values in format *value:description, another_value:anotherdescription* … … 331 341 == Changelog == 332 342 343 = 1.3 (Sep 12, 2017 ) 344 * Add HTML5 attributes - min, max, placeholder, readonly, disabled 345 333 346 = 1.2.2 (Jul 19, 2017) = 334 347 * Fix broken pagination in list tables
Note: See TracChangeset
for help on using the changeset viewer.