WordPress.org

Make WordPress Core

Ticket #43844: 43844.diff

File 43844.diff, 504 bytes (added by javorszky, 2 years ago)

Inline documentation fix for WP_List_Table::get_sortable_columns

  • src/wp-admin/includes/class-wp-list-table.php

    diff --git src/wp-admin/includes/class-wp-list-table.php src/wp-admin/includes/class-wp-list-table.php
    index f31f4eaed6..c29518a1ec 100644
    foreach ( $this->modes as $mode => $title ) { 
    905905
    906906        /**
    907907         * Get a list of sortable columns. The format is:
    908          * 'internal-name' => 'orderby'
     908         * 'internal-name' => array( 'orderby' )
    909909         * or
    910910         * 'internal-name' => array( 'orderby', true )
    911911         *