Making WordPress.org


Ignore:
Timestamp:
04/01/2021 09:01:06 PM (5 years ago)
Author:
iandunn
Message:

Learn Plugin: Sync with Git.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/views/metabox-workshop-details.php

    r10461 r10866  
    1313
    1414<p>
     15        <label><?php esc_html_e( 'WordPress.tv URL', 'wporg_learn' ); ?></label><br />
     16        <label for="workshop-video-url">
     17                <textarea
     18                        id="workshop-video-url"
     19                        name="video-url"
     20                        class="large-text"
     21                        rows="4"
     22                ><?php echo esc_url( $post->video_url ); ?></textarea>
     23        </label>
     24</p>
     25
     26<p>
    1527        <label><?php esc_html_e( 'Duration', 'wporg_learn' ); ?></label><br />
    1628        <label for="workshop-duration-hours">
     
    2133                        type="number"
    2234                        value="<?php echo absint( $duration_interval->h ); ?>"
     35                        min="0"
    2336                        max="23"
    2437                />
     
    3245                        type="number"
    3346                        value="<?php echo absint( $duration_interval->i ); ?>"
     47                        min="0"
    3448                        max="59"
    3549                />
     
    4357                                type="number"
    4458                                value="<?php echo absint( $duration_interval->s ); ?>"
     59                                min="0"
    4560                                max="59"
    4661                />
Note: See TracChangeset for help on using the changeset viewer.