Making WordPress.org


Ignore:
Timestamp:
02/21/2017 12:03:58 AM (5 years ago)
Author:
iandunn
Message:

WordCamp Payments: Internationalize strings

I also converted uses of non-escapted i18n functions -- e.g., __() -- to their escaped counterparts -- e.g., esc_html__().

Fixes 2229
Props thomas-vitale

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/views/sponsor-invoice/metabox-status.php

    r2692 r4967  
    1111            <div id="minor-publishing-actions">
    1212                <div id="save-action">
    13                     <?php submit_button( __( 'Save Draft' ), 'secondary', 'wcb-save-draft', false ); ?>
     13                    <?php submit_button( esc_html__( 'Save Draft' ), 'secondary', 'wcb-save-draft', false ); ?>
    1414                </div>
    1515            </div>
     
    5252
    5353            <div id="publishing-action">
    54                 <input name="original_publish" type="hidden" id="original_publish" value="<?php esc_attr( __( 'Send Invoice', 'wordcamporg' ) ) ?>" />
     54                <input name="original_publish" type="hidden" id="original_publish" value="<?php esc_attr( esc_html__( 'Send Invoice', 'wordcamporg' ) ) ?>" />
    5555                <?php submit_button(
    56                     __( 'Send Invoice', 'wordcamporg' ),
     56                    esc_html__( 'Send Invoice', 'wordcamporg' ),
    5757                    'primary button-large',
    5858                    'send-invoice',
Note: See TracChangeset for help on using the changeset viewer.