Making WordPress.org

Changeset 2056


Ignore:
Timestamp:
11/07/2015 04:34:22 AM (8 years ago)
Author:
dd32
Message:

Translate: Use gp_url() to get an absolute path for use on https://translate.wordpress.org/stats/ so the links link to the correct location with or without a trailing slash.

File:
1 edited

Legend:

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

    r1895 r2056  
    4646                    <?php
    4747                    foreach ( $projects as $slug => $project ) {
    48                         $projecturl = gp_url_join( 'locale', $gp_locale->slug, $set_slug, $project->path );
     48                        $projecturl = gp_url( gp_url_join( 'locale', $gp_locale->slug, $set_slug, $project->path ) );
    4949
    5050                        if ( isset( $translation_locale_statuses[ $locale_slug ][ $project->path ] ) ) {
Note: See TracChangeset for help on using the changeset viewer.