WordPress.org

Making WordPress.org

Changeset 2669


Ignore:
Timestamp:
03/02/2016 08:21:44 PM (3 years ago)
Author:
ocean90
Message:

Translate: Fix image URL for project icons.

See #1352.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-routes/routes/locale.php

    r2667 r2669  
    208208                        return '<div class="default-icon"><span class="dashicons dashicons-tickets"></span></div>';
    209209                    case 'browsehappy':
    210                         return '<div class="icon"><img src="/gp-templates/images/browsehappy.png" width="' . $size . '" height="' . $size . '"></div>';
     210                        return '<div class="icon"><img src="https://translate.wordpress.org/translate/gp-templates-new/images/browsehappy.png" width="' . $size . '" height="' . $size . '"></div>';
    211211                    default:
    212212                        return '<div class="default-icon"><span class="dashicons dashicons-networking"></span></div>';
     
    233233                }
    234234            case 'glotpress':
    235                 return '<div class="icon"><img src="/gp-templates/images/glotpress.png" width="' . $size . '" height="' . $size . '"></div>';
     235                return '<div class="icon"><img src="https://translate.wordpress.org/translate/gp-templates-new/images/glotpress.png" width="' . $size . '" height="' . $size . '"></div>';
    236236            default:
    237237                return '<div class="default-icon"><span class="dashicons dashicons-translation"></span></div>';
Note: See TracChangeset for help on using the changeset viewer.