Changeset 12539
- Timestamp:
- 04/13/2023 11:21:17 PM (20 months ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/plugins/photo-directory
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/photo-directory/assets/js/submit.js
r12234 r12539 112 112 */ 113 113 function photoGetInputFields( form ) { 114 return form.querySelectorAll( 'input:not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="file"])');114 return form.querySelectorAll('textarea, input:not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="file"])'); 115 115 } 116 116 -
sites/trunk/wordpress.org/public_html/wp-content/plugins/photo-directory/inc/uploads.php
r12404 r12539 15 15 * @var int 16 16 */ 17 const MAX_LENGTH_DESCRIPTION = 250;17 const MAX_LENGTH_DESCRIPTION = 350; 18 18 19 19 /** … … 909 909 . "</div>\n" 910 910 . sprintf( 911 '[%s name="post_content" class="textarea" id="ug_content" description="%s" maxlength="%d" help="%s"]' . "\n",911 '[%s name="post_content" class="textarea" id="ug_content" description="%s" required="required" aria-required="true" maxlength="%d" help="%s"]' . "\n", 912 912 $description_shortcode, 913 esc_attr( __( ' Description (optional)', 'wporg-photos' ) ),913 esc_attr( __( 'Alternative Text (required)', 'wporg-photos' ) ), 914 914 self::MAX_LENGTH_DESCRIPTION, 915 esc_attr( sprintf( __( ' Maximum of %d characters. No HTML.', 'wporg-photos' ), self::MAX_LENGTH_DESCRIPTION ) )915 esc_attr( sprintf( __( 'Describe what can be seen in the photo for the benefit of those without sight. May be edited by moderators. Maximum of %d characters. No HTML.', 'wporg-photos' ), self::MAX_LENGTH_DESCRIPTION ) ) 916 916 ) 917 917 . '<div class="upload-checkbox-wrapper">' . "\n";
Note: See TracChangeset
for help on using the changeset viewer.