Making WordPress.org

Ticket #2711: 2711.meta.diff

File 2711.meta.diff, 813 bytes (added by davidmosterd, 7 years ago)

Initial fix

  • wordcamp.org/public_html/wp-content/plugins/wc-post-types/views/sponsors/metabox-sponsor-info.php

    diff --git wordcamp.org/public_html/wp-content/plugins/wc-post-types/views/sponsors/metabox-sponsor-info.php wordcamp.org/public_html/wp-content/plugins/wc-post-types/views/sponsors/metabox-sponsor-info.php
    index 9bbd174a..d022a3b2 100644
     
    204204                        id="_wcpt_sponsor_state"
    205205                        name="_wcpt_sponsor_state"
    206206                        value="<?php echo esc_attr( $state ); ?>"
    207                     required
    208207                />
    209208
    210                 <?php $this->render_form_field_required_indicator(); ?>
     209                <span class="description">
     210                        <?php esc_html_e( 'Only necessary if your country uses states or provinces', 'wordcamporg' ); ?>
     211                </span>
    211212        </li>
    212213
    213214        <li>