Making WordPress.org

Changeset 13059


Ignore:
Timestamp:
12/13/2023 10:21:42 PM (7 months ago)
Author:
coffee2code
Message:

Theme Directory: Tweak markup for upload form checkboxes.

  • Adds class to encapsulating container
  • Removes space between checkbox and label text
  • Adds span around label inner text and markup (but not checkbox input)
  • Removes br tags

See #6422.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/upload.php

    r11271 r13059  
    8080            ' . $terms_notice . '
    8181
    82             <p>
    83                 <label><input type="checkbox" required="required" name="required_terms[permission]"> ' . __( 'I have permission to upload this theme to WordPress.org for others to use and share.', 'wporg-themes' ) . '</label><br>
    84                 <label><input type="checkbox" required="required" name="required_terms[guidelines]"> ' . sprintf( __( 'The theme complies with all <a href="%s">Theme Guidelines</a>.', 'wporg-themes' ), 'https://make.wordpress.org/themes/handbook/review/required/' ) . '</label><br>
    85                 <label><input type="checkbox" required="required" name="required_terms[gpl]"> ' . sprintf( __( 'The theme, and all included assets, <a href="%s">are licenced as GPL or are under a GPL compatible license</a>.', 'wporg-themes' ), 'https://make.wordpress.org/themes/handbook/review/required/#1-licensing-copyright' ) . '</label><br>
     82            <p class="upload-checkboxes">
     83                <label><input type="checkbox" required="required" name="required_terms[permission]"><span>' . __( 'I have permission to upload this theme to WordPress.org for others to use and share.', 'wporg-themes' ) . '</span></label>
     84                <label><input type="checkbox" required="required" name="required_terms[guidelines]"><span>' . sprintf( __( 'The theme complies with all <a href="%s">Theme Guidelines</a>.', 'wporg-themes' ), 'https://make.wordpress.org/themes/handbook/review/required/' ) . '</span></label>
     85                <label><input type="checkbox" required="required" name="required_terms[gpl]"><span>' . sprintf( __( 'The theme, and all included assets, <a href="%s">are licenced as GPL or are under a GPL compatible license</a>.', 'wporg-themes' ), 'https://make.wordpress.org/themes/handbook/review/required/#1-licensing-copyright' ) . '</span></label>
    8686            </p>
    8787
Note: See TracChangeset for help on using the changeset viewer.