Making WordPress.org

Changeset 3385


Ignore:
Timestamp:
06/16/2016 11:04:44 AM (8 years ago)
Author:
obenland
Message:

Plugin Directory: Remove stats from single plugin page.

See #1596.

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

Legend:

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

    r3327 r3385  
    2626            'slug' => $post->post_name,
    2727            'l10n' => array(
    28                 'date'          => __( 'Date', 'wporg-plugins' ),
    29                 'downloads'     => __( 'Downloads', 'wporg-plugins' ),
    30                 'noData'        => __( 'No data yet', 'wporg-plugins' ),
    31                 'otherVersions' => __( 'Other Versions', 'wporg-plugins' ),
     28                'date'      => __( 'Date', 'wporg-plugins' ),
     29                'downloads' => __( 'Downloads', 'wporg-plugins' ),
     30                'noData'    => __( 'No data yet', 'wporg-plugins' ),
    3231            ),
    3332        ) );
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-plugin-directory.php

    r3378 r3385  
    247247        add_shortcode( 'wporg-plugin-upload',       array( __NAMESPACE__ . '\Shortcodes\Upload',      'display' ) );
    248248        add_shortcode( 'wporg-plugins-screenshots', array( __NAMESPACE__ . '\Shortcodes\Screenshots', 'display' ) );
    249         add_shortcode( 'wporg-plugins-stats',       array( __NAMESPACE__ . '\Shortcodes\Stats',       'display' ) );
    250249    }
    251250
     
    671670        $content_pages = array(
    672671            'screenshots' => '[wporg-plugins-screenshots]',
    673             'stats'       => '[wporg-plugins-stats]',
    674672            'developers'  => '[wporg-plugins-developers]',
    675673        );
Note: See TracChangeset for help on using the changeset viewer.