[wp-trac] [WordPress Trac] #27614: Removing lastupdated column via filter in the MS Sites List Table can cause a notice

WordPress Trac noreply at wordpress.org
Mon Mar 31 22:57:22 UTC 2014


#27614: Removing lastupdated column via filter in the MS Sites List Table can cause
a notice
--------------------------------+----------------------------
 Reporter:  jeremyfelt          |      Owner:
     Type:  defect (bug)        |     Status:  new
 Priority:  normal              |  Milestone:  Future Release
Component:  Networks and Sites  |    Version:  3.1
 Severity:  normal              |   Keywords:  has-patch
  Focuses:  multisite           |
--------------------------------+----------------------------
 In `WP_MS_Sites_List_Table->display_rows()`, the registered column assumes
 that the `$date` set by the lastupdated column is available to it. If the
 lastupdated column is filtered out, `$date` is not available and a notice
 is shown.

 Setting this date format is not expensive at all. the attached patch moves
 it to the top of `display_rows()` so that it is available throughout.

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


More information about the wp-trac mailing list