Changeset 11690
- Timestamp:
- 03/21/2022 10:07:45 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/photo-directory/inc/uploads.php
r11679 r11690 724 724 $content .= '[input type="hidden" name="post_title" value=""]' . "\n"; 725 725 $content .= sprintf( 726 '[input type="file" name="ug_photo" id="ug_photo" description="%s" required="true" aria-required="true"]' . "\n", 727 esc_attr( __( 'Photo', 'wporg-photos' ) ) 728 ) 729 . sprintf( 726 730 '[%s name="post_content" class="textarea" id="ug_content" description="%s" maxlength="%d" help="%s"]' . "\n", 727 731 $description_shortcode, … … 729 733 self::MAX_LENGTH_DESCRIPTION, 730 734 esc_attr( sprintf( __( 'Maximum of %d characters.', 'wporg-photos' ), self::MAX_LENGTH_DESCRIPTION ) ) 731 )732 . sprintf(733 '[input type="file" name="ug_photo" id="ug_photo" description="%s" required="true" aria-required="true"]' . "\n",734 esc_attr( __( 'Photo', 'wporg-photos' ) )735 735 ) 736 736 . '<div class="upload-checkbox-wrapper">' . "\n";
Note: See TracChangeset
for help on using the changeset viewer.