[wp-trac] [WordPress Trac] #34695: class-wp-plugins-list-table.php Undefined Offset

WordPress Trac noreply at wordpress.org
Mon Nov 16 00:47:09 UTC 2015


#34695: class-wp-plugins-list-table.php Undefined Offset
--------------------------+-----------------------------
 Reporter:  ShellaRDee    |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  4.3.1
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Undefined offset: 3 in wp-admin/includes/class-wp-plugins-list-table.php
 on line 598.
 get_column_info does not return $primary.

 I fixed this by changing
 list( $columns, $hidden, $sortable, $primary ) = $this->get_column_info();

 TO
 list( $columns, $hidden, $sortable ) = $this->get_column_info();
 $primary = 'users';

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34695>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list