[wp-trac] [WordPress Trac] #55322: The Class WP-Post List Table(Method - Column_Default) Contains Irrelevant Keyword 'return'

WordPress Trac noreply at wordpress.org
Sat Mar 5 20:29:26 UTC 2022


#55322: The Class WP-Post List Table(Method - Column_Default) Contains Irrelevant
Keyword 'return'
--------------------------------------+------------------------------
 Reporter:  cu121                     |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Posts, Post Types         |     Version:  3.5
 Severity:  normal                    |  Resolution:
 Keywords:  dev-feedback needs-patch  |     Focuses:  administration
--------------------------------------+------------------------------

Comment (by joyously):

 The return isn't irrelevant.
 That if statement handles only taxonomy columns, and it runs the
 appropriate filter.
 The actions further down are for custom columns, which the taxonomy column
 is not, so they should not be run in that case.

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


More information about the wp-trac mailing list