Making WordPress.org


Ignore:
Timestamp:
11/20/2015 02:04:19 AM (9 years ago)
Author:
dd32
Message:

Themes: Add an Active Installs count for themes.
This counts the number of sites who report as having a theme of the same name active as their current theme.
If a theme is used as a template for another, it's technically active but not included in this count.

The popular tab is now sorted by the number of active installs as well.

See #909

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/functions.php

    r1929 r2094  
    7676
    7777                // Tags
    78                 'tags' => wporg_themes_get_tag_translations()
     78                'tags' => wporg_themes_get_tag_translations(),
     79
     80                // Active Installs
     81                'active_installs_less_than_10' => __( 'Less than 10', 'wporg-themes' ),
     82                'active_installs_1_million' => __( '1+ million', 'wporg-themes' ),
    7983            ),
    8084        ) );
Note: See TracChangeset for help on using the changeset viewer.