I have a site with some custom post types, one of which doesn’t have a title.
When viewed in the admin section, the posts are listed like so
Which is less than ideal, for obvious reasons.
I have edited one of the admin files wp-admin/includes/class-wp-posts-list-table.php
to display the list as below
The problem is the customisation is overwritten by upgrades.
What is the correct way to make customisations to the admin files so they survive upgrades?
2 s
Don’t edit core WP files.
Use the provided filters instead. For instance, have a look at the manage_$posttype_posts_columns
filter.