[wp-trac] [WordPress Trac] #30829: I want to add the list table views in edit-tags.php
WordPress Trac
noreply at wordpress.org
Fri May 15 19:43:05 UTC 2015
#30829: I want to add the list table views in edit-tags.php
-------------------------+-------------------------------------------
Reporter: llemurya | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version: 4.1
Severity: normal | Resolution:
Keywords: | Focuses: ui, administration, template
-------------------------+-------------------------------------------
Comment (by boonebgorges):
I guess I'm not opposed to doing this, but as `WP_Terms_List_Table` is
currently built, the only way you'll be able to add the views markup is by
filtering 'views_edit-post_tag' and returning the link markup. IMO this is
kind of a lousy UX. Better might be to introduce
`WP_Terms_List_Table::get_views()`, which would return an empty array
that'd pass through a 'term_view_links' filter or something like that.
Then plugins could add their links in a more sensible way. Do you have
thoughts about this?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30829#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list