Skip to content

Commit

Permalink
Merge pull request #779 from ramiy/master
Browse files Browse the repository at this point in the history
i18n: don't esc strings with html code
  • Loading branch information
Devin Walker committed Jul 21, 2016
2 parents 36b4cc9 + cedb37b commit 47e4164
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion includes/admin/customers/customers.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function give_customers_list() {
$customers_table->prepare_items();
?>
<div class="wrap">
<h2><?php esc_html( 'Donors', 'give' ); ?></h2>
<h2><?php esc_html_e( 'Donors', 'give' ); ?></h2>
<?php do_action( 'give_donors_table_top' ); ?>
<form id="give-donors-filter" method="get" action="<?php echo admin_url( 'edit.php?post_type=give_forms&page=give-donors' ); ?>">
<?php
Expand Down
4 changes: 2 additions & 2 deletions includes/admin/reporting/tools.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ function give_tools_recount_stats_display() {
?></span>
<span id="recount-customer-stats"><?php esc_html_e( 'Recalculates the lifetime value and donation counts for all donors.', 'give' ); ?></span>
<?php do_action( 'give_recount_tool_descriptions' ); ?>
<span id="delete-test-transactions"><?php esc_html_e( '<strong>Deletes</strong> all TEST payment records, donors, and related log entries.', 'give' ); ?></span>
<span id="reset-stats"><?php esc_html_e( '<strong>Deletes</strong> ALL transaction records, donors, and related log entries regardless of test or live mode.', 'give' ); ?></span>
<span id="delete-test-transactions"><?php _e( '<strong>Deletes</strong> all TEST payment records, donors, and related log entries.', 'give' ); ?></span>
<span id="reset-stats"><?php _e( '<strong>Deletes</strong> ALL transaction records, donors, and related log entries regardless of test or live mode.', 'give' ); ?></span>
</span>

<span class="spinner"></span>
Expand Down
2 changes: 1 addition & 1 deletion includes/admin/welcome.php
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ public function credits_screen() {

<?php $this->tabs(); ?>

<p class="about-description"><?php _e( 'Give is created by a dedicated team of developers. If you are interested in contributing please visit the <a href="https://github.com/WordImpress/give" target="_blank">GitHub Repo</a>.', 'give' ); ?></p>
<p class="about-description"><?php printf( __( 'Give is created by a dedicated team of developers. If you are interested in contributing please visit the <a href="%s" target="_blank">GitHub Repo</a>.', 'give' ), esc_url( 'https://github.com/WordImpress/give' ) ); ?></p>

<?php echo $this->contributors(); ?>
</div>
Expand Down
2 changes: 1 addition & 1 deletion includes/scripts.php
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ function give_load_admin_scripts( $hook ) {
'type_to_search' => sprintf( esc_html( 'Type to search %s', 'give' ), give_get_forms_label_plural() ),
'batch_export_no_class' => esc_html( 'You must choose a method.', 'give' ),
'batch_export_no_reqs' => esc_html( 'Required fields not completed.', 'give' ),
'reset_stats_warn' => esc_html( 'Are you sure you want to reset Give? This process is <strong><em>not reversible</em></strong> and will delete all data regardless of test or live mode. Please be sure you have a recent backup before proceeding.', 'give' ),
'reset_stats_warn' => __( 'Are you sure you want to reset Give? This process is <strong><em>not reversible</em></strong> and will delete all data regardless of test or live mode. Please be sure you have a recent backup before proceeding.', 'give' ),
) );

if ( function_exists( 'wp_enqueue_media' ) && version_compare( $wp_version, '3.5', '>=' ) ) {
Expand Down

0 comments on commit 47e4164

Please sign in to comment.