Quantcast
Channel: WordPress Trac: Ticket #21240: Ability to "Turn On" Native custom columns for registered custom taxonomies
Browsing latest articles
Browse All 168 View Live

Article 51

In 23081: Media list table: Fix the categories column, hidden thanks to a typo. props eddiemoya, fixes #22764. see #21240, #21391.

View Article



status changed; resolution set

status changed from reopened to closedresolution set to fixed In [21945]: Reset $taxonomy in single_row's default branch. props tott. fixes #21240.

View Article

Article 49

Thanks tott — I had coded this not realizing it was a foreach loop going through the columns, but rather a function call for each column.

View Article

status changed; resolution deleted

status changed from closed to reopenedresolutionfixed deleted

View Article

Article 47

The changed behavior in putting previous category and post-tag cases into the default section in r21788 breaks manage_*posts_custom_column hooks if you also want to include custom taxonomies via these...

View Article


cc changed

ccfrank@… added great idea/solution. thanks

View Article

status changed; resolution set

status changed from reopened to closedresolution set to fixed In [21806]: Don't show 'Uncategorized' in the category column on edit.php if there are no categories (including the default one). props...

View Article

cc changed

ccnavjotjsingh@… added

View Article


cc changed

ccinfo@… added

View Article


keywords changed

keywordscommit added +1 for ocean90's reasoning and patch.

View Article

Article 41

If you mean in WP Admin -> Posts, no, we're not going to do that. If you mean in WP Admin -> Categories, it's already possible.

View Article

Article 40

What about the option to sort columns alphabeticaly, by name, or by number?

View Article

keywords, status changed; resolution deleted

keywords2nd-opinion removed status changed from closed to reopenedresolutionfixed deleted Replying to nacin: Also, my patches change "No Tags" to a simple em-dash. It avoids introducing a new string...

View Article


attachment set

attachment set to 21240.9.patch

View Article

milestone changed

milestone changed from Awaiting Review to 3.5

View Article


status changed; owner, resolution set

owner set to nacinstatus changed from new to closedresolution set to fixed In [21788]: Allow easy registration of taxonomy columns on post (and custom post type) list table screens. To register a...

View Article

Article 35

Also, my patches change "No Tags" to a simple em-dash. It avoids introducing a new string for the taxonomy object and, I think, cleans up the screen a bit. For categories, it still says...

View Article


Article 34

Replying to nacin: The only other thing I would possibly add here is a show_column_on_post_screens-like argument (that name is terrible, I know) to register_taxonomy(). If true, then that taxonomy...

View Article

Article 32

I've looked at this a number of times but wasn't a diehard fan of the current approach. Couldn't figure out why exactly. Today in IRC I started to ​offer a review of the patch. There are some smaller...

View Article

Article 30

Anything I can do to help move this along?

View Article

Article 29

That would also require unsetting the 'categories' and 'tags' columns, which I think would be good, to further narrow the divide between these two native taxonomies and custom ones.

View Article


type changed

type changed from feature request to enhancementcase ( in_array( $column_name, $this->taxonomy_columns ) ) : That is absolutely wicked! :D Instead of this: $custom_taxonomies = array_diff(...

View Article


Article 27

Any word on this ticket? Would LOVE to see it in 3.5!

View Article

Article 26

Replying to scribu: In 21240.5.diff​, aren't these lines redundant: Currently the category column says "Uncategorized" if there's no categories:...

View Article

Article 24

My suggestion would be to transform the taxonomy names into the desired column names later, right before rendering.

View Article


Article 23

Also, I'm not sure these two lines have the intended effect: $taxonomies = array_diff( $taxonomies, array( 'category', 'post_tag' ) ); $this->taxonomy_columns = array_merge( array( 'categories',...

View Article

Article 22

In 21240.5.diff​, aren't these lines redundant: 46 'labels' => array( 47 'no_items' => __( 'Uncategorized' ), 48 ), ?

View Article

Article 21

21240.5.diff​ is another take. As far as I can see, there's no need for no_items label to be based on menu_name (this wouldn't be localizable). It can fall back to "No Tags" / "No Categories", like the...

View Article

Article 18

In ​21240.4.dff I added $this->taxonomy_columns = apply_filters( 'show_taxonomy_columns', $taxonomies, $post_type ); This line allows plugins and themes to filter the taxonomy columns. i.e....

View Article



Article 15

Do you envision this being incorporated into class WP_List_Table then? Into WP_Post_List_Table for now, but keeping it as a function works too.

View Article

Article 14

Replying to scribu: vs rolling it into the get_column_headers() function? No, vs making it a protected method. Do you envision this being incorporated into class WP_List_Table then? We'll probably...

View Article

keywords changed

keywordshas-patch added vs rolling it into the get_column_headers() function? No, vs making it a protected method. __( 'No '. $taxonomy_object->label ) You can only pass plain strings to __(). But...

View Article

Article 12

Replying to scribu: 21240.diff​ looks like a step in the right direction. Any particular reason for making get_taxonomy_column_headers() a stand-alone function? What is the purpose of the...

View Article


Article 10

21240.diff​ looks like a step in the right direction. Any particular reason for making get_taxonomy_column_headers() a stand-alone function? What is the purpose of the 'taxonomy_column_header' filter?

View Article

Article 9

So should it have a separate complementary function for flexibility? something like register_taxonomy_columns( $taxonomies, $object_types, $args );

View Article

Article 8

You bring up a good point. If we store it on the CPT, then it won't work if you a have a user taxonomy.

View Article


cc changed

cctravis@… added +1 to adding it to CPTs. To me it's more logical workflow and since the screen is a CPT screen. However, it would be even better if it didn't matter. Replying to jtsternberg: I think I...

View Article


Article 6

My thinking was that you need to register the post type before the taxonomy, but that isn't really a problem, since the column rendering is done much later.

View Article

Article 5

I think I may be partial to adding the flag to the register_post_type parameters instead of register_taxonomy. Normal workflow is to add custom taxonomies TO a custom post type rather than the other...

View Article

Article 4

Well, if you have the same taxonomy registered for multiple post types, you can't control on which screens it shows up. Maybe besides 'show_admin_column' => true we could also have...

View Article

Article 3

Here's my proposal: register_taxonomy( 'presentation', 'presentation_type', array( ... 'show_admin_column' => true ) ); This would create a 'Presentations' column in WP Admin -> Presentations....

View Article


Article 1

We talked about this in IRC. The idea is to make it easy for custom taxonomies to generate columns on CPT WP_List_Table screens, just like the Categories and Tags columns on wp-admin/edit.php Here's...

View Article
Browsing latest articles
Browse All 168 View Live




Latest Images