WordPress.org

Make WordPress Core

Ticket #25408: 25408.18.diff

File 25408.18.diff, 1.5 KB (added by stephdau, 6 years ago)
  • src/wp-admin/includes/class-wp-ms-themes-list-table.php

     
    245245        }
    246246
    247247        /**
    248          * Get the name of the default primary column.
     248         * Get the name of the primary column.
    249249         *
    250250         * @since 4.3.0
    251251         * @access protected
    252252         *
    253          * @return string Name of the default primary column name, in this case, 'name'.
     253         * @return string Unalterable name of the primary column name, in this case, 'name'.
    254254         */
    255         protected function get_default_primary_column_name() {
     255        protected function get_primary_column_name() {
    256256                return 'name';
    257257        }
    258258
  • src/wp-admin/includes/class-wp-plugins-list-table.php

     
    719719        }
    720720
    721721        /**
    722          * Get the name of default primary column for this specific list table.
     722         * Get the name of primary column for this specific list table.
    723723         *
    724724         * @since 4.3.0
    725725         * @access protected
    726726         *
    727          * @return string Name for the default primary column, in this case, 'plugin'.
     727         * @return string Unalterable name for the primary column, in this case, 'plugin'.
    728728         */
    729         protected function get_default_primary_column_name() {
     729        protected function get_primary_column_name() {
    730730                return 'plugin';
    731731        }
    732732}