[wp-trac] [WordPress Trac] #28498: Need a filter in the WP_Terms_List_Table class

WordPress Trac noreply at wordpress.org
Tue Jun 10 10:10:34 UTC 2014


#28498: Need a filter in the WP_Terms_List_Table class
-----------------------------+-----------------------------
 Reporter:  rudidraad        |      Owner:
     Type:  feature request  |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  General          |    Version:  trunk
 Severity:  normal           |   Keywords:
  Focuses:  administration   |
-----------------------------+-----------------------------
 I current am in dire need of a filter in the WP_Terms_List_Table Class.
 The function i need a filter in is column_name.

 I need to be able to adjust the URL here. I've made an adjustment to the
 core and I've got this at line 291 right now:


 {{{
 /* EXTENDING THE CORE HERE - THIS SUCKS FOR UPDATES
         @todo: Find another way to implement this
         @core @extension*/
         $name_link = apply_filters ("{$taxonomy}_name_url", $edit_link);

                 $out = '<strong><a class="row-title" href="' . $name_link
 . '" title="' . esc_attr( sprintf( __( 'Edit “%s”' ), $name )
 ) . '">' . $name . '</a></strong><br />';
         /* END OF EXTENSION */
 }}}

 Would be awesome if this could be implemented in the next release!

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


More information about the wp-trac mailing list