Making WordPress.org


Ignore:
Timestamp:
03/24/2019 08:30:22 PM (5 years ago)
Author:
ocean90
Message:

Translate: Add link for per-locale plugin/theme stats to the filter header.

Fixes #2290.

File:
1 edited

Legend:

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

    r8496 r8499  
    7575        }
    7676        ?>
     77        <li class="filter-header-link__sep" aria-hidden="true">|</li>
     78        <li class="has-children">
     79            <a href="#">Stats</a>
     80            <ul>
     81                <li><a href="<?php echo esc_url( gp_url_join( '/locale', $locale_slug, $set_slug, 'stats', 'plugins' ) ); ?>">Plugins</a></li>
     82                <li><a href="<?php echo esc_url( gp_url_join( '/locale', $locale_slug, $set_slug, 'stats', 'themes' ) ); ?>">Themes</a></li>
     83            </ul>
     84        </li>
    7785    </ul>
    7886    <div class="search-form">
Note: See TracChangeset for help on using the changeset viewer.