WordPress.org

Making WordPress.org

Changeset 3007


Ignore:
Timestamp:
04/25/2016 08:02:07 PM (4 years ago)
Author:
ocean90
Message:

Translate: Fix typo.

See #1682.

Location:
sites/trunk
Files:
2 edited

Legend:

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

    r3003 r3007  
    2525    <p class="consistency-form-filters">
    2626        <label>
    27             <input type="checkbox" name="search_case_senstive" value="1"<?php checked( $search_case_senstive ); ?>>
     27            <input type="checkbox" name="search_case_sensitive" value="1"<?php checked( $search_case_sensitive ); ?>>
    2828            Case Sensitive
    2929        </label>
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-routes/inc/routes/class-consistency.php

    r3005 r3007  
    2323        $search = $set = '';
    2424        $search_fuzzy = false;
    25         $search_case_senstive = true;
     25        $search_case_sensitive = true;
    2626
    2727        if ( ! empty( $_REQUEST['search'] ) ) {
     
    3636        }
    3737
    38         if ( ! empty( $_REQUEST ) && empty( $_REQUEST['search_case_senstive'] ) ) {
    39             $search_case_senstive = false;
     38        if ( ! empty( $_REQUEST ) && empty( $_REQUEST['search_case_sensitive'] ) ) {
     39            $search_case_sensitive = false;
    4040        }
    4141
     
    5555            $performed_search = true;
    5656            $results = $this->query( [
    57                 'search'        => $search,
    58                 'set'           => $set,
    59                 'fuzzy'         => $search_fuzzy,
    60                 'case_senstive' => $search_case_senstive,
     57                'search'         => $search,
     58                'set'            => $set,
     59                'fuzzy'          => $search_fuzzy,
     60                'case_sensitive' => $search_case_sensitive,
    6161            ] );
    6262
     
    104104        list( $locale, $slug ) = explode( '/', $args['set'] );
    105105
    106         if ( $args['case_senstive'] ) {
     106        if ( $args['case_sensitive'] ) {
    107107            $collation = 'BINARY';
    108108        } else {
Note: See TracChangeset for help on using the changeset viewer.