WordPress.org

Making WordPress.org

Changeset 3277


Ignore:
Timestamp:
05/31/2016 07:32:46 PM (5 years ago)
Author:
ocean90
Message:

Translate: Update path to images after [3267].

See #1735.

File:
1 edited

Legend:

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

    r3002 r3277  
    211211                        return '<div class="default-icon"><span class="dashicons dashicons-tickets"></span></div>';
    212212                    case 'browsehappy':
    213                         return '<div class="icon"><img src="https://translate.wordpress.org/translate/gp-templates-new/images/browsehappy.png" width="' . $size . '" height="' . $size . '"></div>';
     213                        return '<div class="icon"><img src="' . plugins_url( 'templates/images/browsehappy.png', 'wporg-gp-customizations/wporg-gp-customizations.php' ) . '" width="' . $size . '" height="' . $size . '"></div>';
    214214                    default:
    215215                        return '<div class="default-icon"><span class="dashicons dashicons-networking"></span></div>';
     
    240240                return '<div class="default-icon"><span class="dashicons dashicons-admin-plugins"></span></div>';
    241241            case 'glotpress':
    242                 return '<div class="icon"><img src="https://translate.wordpress.org/translate/gp-templates-new/images/glotpress.png" width="' . $size . '" height="' . $size . '"></div>';
     242                return '<div class="icon"><img src="'. plugins_url( 'templates/images/glotpress.png', 'wporg-gp-customizations/wporg-gp-customizations.php' ) . '" width="' . $size . '" height="' . $size . '"></div>';
    243243            default:
    244244                return '<div class="default-icon"><span class="dashicons dashicons-translation"></span></div>';
Note: See TracChangeset for help on using the changeset viewer.