Making WordPress.org


Ignore:
Timestamp:
08/13/2020 11:43:14 PM (6 years ago)
Author:
coreymckrill
Message:

WordPress.org Learn: Sync with GitHub

​https://github.com/WordPress/learn/compare/1accd3db38a60230689bdc157f9e82081d35d163...38e7793fd20434d72ca898988d017ba2009fb677

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  
    11<?php
     2/**
     3 * Template for Presenters metabox
     4 */
     5
    26/** @var WP_Post $post */
    37/** @var array $presenters */
    … …  
    610<?php // todo Change this to a multiselect dropdown that validates wporg usernames. ?>
    711<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>
    1218        <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' ); ?>
    1420        </span>
    1521</p>
Note: See TracChangeset for help on using the changeset viewer.