Changeset 10169 for sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/views/metabox-workshop-presenters.php
- Timestamp:
- 08/13/2020 11:43:14 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/views/metabox-workshop-presenters.php
r10146 r10169 1 1 <?php 2 /** 3 * Template for Presenters metabox 4 */ 5 2 6 /** @var WP_Post $post */ 3 7 /** @var array $presenters */ … … 6 10 <?php // todo Change this to a multiselect dropdown that validates wporg usernames. ?> 7 11 <p> 8 <label for="workshop-presenter-wporg-username"><?php _e( 'WordPress.org User Names', 'wporg_learn' ); ?></label> 9 <textarea id="workshop-presenter-wporg-username" name="presenter-wporg-username"><?php 10 echo sanitize_textarea_field( implode( ', ', $presenters ) ); 11 ?></textarea> 12 <label for="workshop-presenter-wporg-username"><?php esc_html_e( 'WordPress.org User Names', 'wporg_learn' ); ?></label> 13 <textarea id="workshop-presenter-wporg-username" name="presenter-wporg-username"> 14 <?php 15 echo esc_html( implode( ', ', $presenters ) ); 16 ?> 17 </textarea> 12 18 <span class="help"> 13 <?php _e( 'Separate multiple presenter user names with a comma.', 'wporg_learn' ); ?>19 <?php esc_html_e( 'Separate multiple presenter user names with a comma.', 'wporg_learn' ); ?> 14 20 </span> 15 21 </p>
Note: See TracChangeset
for help on using the changeset viewer.