Making WordPress.org


Ignore:
Timestamp:
04/26/2021 11:09:28 PM (5 years ago)
Author:
coreymckrill
Message:

WordPress.org Learn: Sync with GitHub

https://github.com/WordPress/learn/commit/5133da6d34c524f7b4685400c8359842153fbf17

File:
1 edited

Legend:

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

    r10378 r10926  
    245245                                        <?php foreach ( get_locales_with_native_names() as $code => $name ) : ?>
    246246                                                <option value="<?php echo esc_attr( $code ); ?>" <?php selected( $code, $form['language'] ); ?>>
    247                                                         <?php echo esc_html( $name ); ?>
     247                                                        <?php
     248                                                        printf(
     249                                                                '%s [%s]',
     250                                                                esc_html( $name ),
     251                                                                esc_html( $code ),
     252                                                        );
     253                                                        ?>
    248254                                                </option>
    249255                                        <?php endforeach; ?>
Note: See TracChangeset for help on using the changeset viewer.