[wp-trac] [WordPress Trac] #43844: Inline documentation for WP_List_Table::get_sortable_columns is wrong

WordPress Trac noreply at wordpress.org
Tue Apr 24 13:25:02 UTC 2018


#43844: Inline documentation for WP_List_Table::get_sortable_columns is wrong
----------------------------+-----------------------------------
 Reporter:  javorszky       |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:
 Severity:  major           |  Resolution:
 Keywords:  dev-feedback    |     Focuses:  docs, administration
----------------------------+-----------------------------------
Changes (by javorszky):

 * severity:  minor => major


Comment:

 Further digging unearthed changed behaviour between PHP 5 and PHP 7, see
 the following:

 == Strings can no longer be unpacked

 http://uk1.php.net/manual/en/migration70.incompatible.php#migration70.incompatible
 .variable-handling.list.string

 == The order changes from right-to-left to left-to-right

 http://uk1.php.net/manual/en/migration70.incompatible.php#migration70.incompatible
 .variable-handling.list.order

 Which makes me think that all usage depending on `list` should be
 abandoned.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/43844#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list