[wp-trac] [WordPress Trac] #30799: Scrutinizer in 4.2

WordPress Trac noreply at wordpress.org
Fri Jan 16 17:41:52 UTC 2015


#30799: Scrutinizer in 4.2
----------------------------+--------------------
 Reporter:  wonderboymusic  |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  4.2
Component:  General         |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+--------------------

Comment (by wonderboymusic):

 In [changeset:"31210"]:
 {{{
 #!CommitTicketReference repository="" revision="31210"
 Add 2 noop methods to `WP_List_Table`: `->column_default()` and
 `->column_cb()`.

 `WP_List_Table` is essentially an `abstract` class. Some of its methods
 throw `die()` warnings if they aren't overridden in a child class.

 These noop methods wouldn't be `abstract`, because they are not required
 in subclasses. However, `WP_List_Table` can call these methods in its own
 method, `->single_row_columns()`, whether a subclass defined them or not.

 See #30799.
 }}}

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


More information about the wp-trac mailing list