Making WordPress.org


Ignore:
Timestamp:
11/11/2015 05:15:28 PM (9 years ago)
Author:
obenland
Message:

Translate: Use correct locale slug.

Fixes a bug where links to non-default language sets would end in a 404.

See #1365.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/translate.wordpress.org/public_html/gp-templates/projects-wp-plugins.php

    r2070 r2075  
    6464                <tr>
    6565                    <th title="<?php echo esc_attr( $gp_locale->wp_locale ); ?>">
    66                         <a href="<?php echo gp_url( gp_url_join( 'locale', $locale_slug, $set_slug, $project->path ) ); ?>">
     66                        <a href="<?php echo gp_url( gp_url_join( 'locale', $gp_locale->slug, $set_slug, $project->path ) ); ?>">
    6767                            <?php echo esc_html( $gp_locale->english_name ); ?>
    6868                        </a>
Note: See TracChangeset for help on using the changeset viewer.