WordPress.org

Making WordPress.org

Changeset 9177


Ignore:
Timestamp:
10/14/2019 05:58:26 AM (16 months ago)
Author:
dd32
Message:

WordPress.TV: Increase the allowed length for the Slides URL to 200char.

Fixes #4402.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/anon-upload-template.php

    r8381 r9177  
    356356
    357357            $( '#wptv_video_upload' ).show();
    358             $( '#video-upload-form input[type="text"]' ).each( function() {
    359                 $( this ).attr( 'maxlength', '100' );
    360             } );
     358            $( '#video-upload-form input[type="text"]' ).prop( 'maxlength', 100 );
     359            $( '#video-upload-form input[type="text"]#wptv_slides_url' ).prop( 'maxlength', 200 );
    361360            $( 'ul.cats-checkboxes input' ).prop( 'disabled', false );
    362361
Note: See TracChangeset for help on using the changeset viewer.