Making WordPress.org

Changeset 3221


Ignore:
Timestamp:
05/23/2016 10:17:51 PM (8 years ago)
Author:
obenland
Message:

Plugin Directory: Add stats shortcode.

Displays plugin statistics, like download graph and active version breakdown.

See #1719.

Location:
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory
Files:
2 added
1 edited

Legend:

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

    r3219 r3221  
    202202        add_shortcode( 'wporg-plugin-upload',       array( __NAMESPACE__ . '\Shortcodes\Upload',      'display' ) );
    203203        add_shortcode( 'wporg-plugins-screenshots', array( __NAMESPACE__ . '\Shortcodes\Screenshots', 'display' ) );
    204     //  add_shortcode( 'wporg-plugins-stats',       array( __NAMESPACE__ . '\Shortcodes\Stats',       'display' ) );
     204        add_shortcode( 'wporg-plugins-stats',       array( __NAMESPACE__ . '\Shortcodes\Stats',       'display' ) );
    205205    }
    206206
Note: See TracChangeset for help on using the changeset viewer.