Making WordPress.org

Changeset 3117


Ignore:
Timestamp:
05/11/2016 06:54:04 PM (8 years ago)
Author:
ocean90
Message:

Translate, Consistency: Double encode entities in the search term value.

Fixes #1704.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/translate.wordpress.org/public_html/gp-templates-new/consistency.php

    r3013 r3117  
    1313<form action="" method="get" class="consistency-form">
    1414    <p>
    15         <input type="text" name="search" required value="<?php echo esc_attr( $search ); ?>" class="consistency-form-search" placeholder="Enter original to search for&hellip;">
     15        <input type="text" name="search" required value="<?php echo gp_esc_attr_with_entities( $search ); ?>" class="consistency-form-search" placeholder="Enter original to search for&hellip;">
    1616        <?php
    1717        $options     = [];
Note: See TracChangeset for help on using the changeset viewer.