[wp-trac] [WordPress Trac] #33521: manage_${post_type}_posts_columns parameters shifted

WordPress Trac noreply at wordpress.org
Thu Aug 27 21:29:34 UTC 2015


#33521: manage_${post_type}_posts_columns parameters shifted
-------------------------------------------+------------------------------
 Reporter:  Cybr                           |       Owner:
     Type:  defect (bug)                   |      Status:  new
 Priority:  normal                         |   Milestone:  Awaiting Review
Component:  Taxonomy                       |     Version:  4.3
 Severity:  minor                          |  Resolution:
 Keywords:  reporter-feedback needs-patch  |     Focuses:  administration
-------------------------------------------+------------------------------

Comment (by Cybr):

 Hi @DrewAPicture,

 The file I uploaded is where the bug resides. I'll need to take some time
 to see how .diff uploading works.

 It's named `manage_{$this->screen->taxonomy}_custom_column` as you
 correctly assumed.

 Corresponding to class-wp-posts-list-table, `function column_default`
 doesn't return a value but rather does an action.

 At line 530 and 531 you can see the changes.

 I'll see if I can find a way to make it both backwards compatible and
 where the first two parameters are set correctly.

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


More information about the wp-trac mailing list