WordPress.org

Making WordPress.org

Ticket #1715: 1715.1.diff

File 1715.1.diff, 1.6 KB (added by ChopinBach, 19 months ago)

Accidentally left in a function that doesn't do anything. This inherits the comments column from the parent class and outputs it as "Notes".

  • wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/list-table/class-plugin-posts.php

    diff --git wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/list-table/class-plugin-posts.php wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/list-table/class-plugin-posts.php
    index 10ade2c..36677ad 100644
    class Plugin_Posts extends \WP_Posts_List_Table { 
    109109                        'installs'  => __( 'Active installs', 'wporg-plugins' ), 
    110110                        'downloads' => __( 'Downloads', 'wporg-plugins' ), 
    111111                        'support'   => __( 'Support', 'wporg-plugins' ), 
     112                        'comments'  => __( 'Notes', 'wporg-plugins' ), 
    112113                        'date'      => __( 'Date', 'wporg-plugins' ), 
    113114                ); 
    114115