Changeset 13575 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-upload.php
- Timestamp:
- 04/19/2024 02:56:22 AM (12 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-upload.php
r13352 r13575 299 299 <input type="hidden" name="plugin_id" value="<?php echo esc_attr( $plugin->ID ); ?>" /> 300 300 301 <label> 302 <?php _e( 'Additional Information', 'wporg-plugins' ); ?><br> 303 <textarea name="comment" rows="3" cols="80"></textarea> 304 </label> 305 <br> 306 301 307 <label class="button button-secondary zip-file"> 302 308 <input type="file" class="plugin-file" name="zip_file" size="25" accept=".zip" required data-maxbytes="<?php echo esc_attr( wp_max_upload_size() ); ?>" /> … … 317 323 echo '<li>' . sprintf( __( 'Version: %s', 'wporg-plugins' ), '<code>' . esc_html( $upload->version ) . '</code>' ) . '</li>'; 318 324 echo '<li>' . sprintf( __( 'Upload Date: %s', 'wporg-plugins' ), date_i18n( get_option( 'date_format' ), strtotime( $upload->post_date ) ) ) . '</li>'; 325 if ( $upload->post_content ) { 326 echo '<li>' . nl2br( wp_kses_post( $upload->post_content ) ) . '</li>'; 327 } 319 328 if ( array_key_first( $attached_media) === $attachment_post_id ) { 320 329 printf( … … 398 407 <p> 399 408 <label> 409 <?php _e( 'Additional Information', 'wporg-plugins' ); ?><br> 410 <textarea name="comment" rows="3" cols="80"><?php 411 if ( ! empty( $_REQUEST['comment'] ) ) { 412 echo esc_textarea( $_REQUEST['comment'] ); 413 } 414 ?></textarea> 415 </label> 416 </p> 417 418 <p> 419 <label> 400 420 <input type="checkbox" name="requirements[faq]" required="required"> 401 421 <?php
Note: See TracChangeset
for help on using the changeset viewer.