Making WordPress.org


Ignore:
Timestamp:
06/09/2016 11:03:34 PM (10 years ago)
Author:
obenland
Message:

Plugin Directory: Move download stats to wp-admin.

Download stats are not terribly useful to users.

See #1596.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/class-customizations.php

    r3324 r3327  
    425425                                'plugin', 'side'
    426426                        );
     427
     428                        if ( current_user_can( 'plugin_add_committer', $post ) ) {
     429                                add_meta_box(
     430                                        'plugin-stats',
     431                                        __( 'Plugin Stats', 'wporg-plugins' ),
     432                                        array( __NAMESPACE__ . '\Metabox\Stats', 'display' ),
     433                                        'plugin', 'normal'
     434                                );
     435                        }
    427436                }
    428437
Note: See TracChangeset for help on using the changeset viewer.