Update the custom post list UI to look like the Posts screen#25300
Merged
crazytonyli merged 4 commits intotrunkfrom Feb 25, 2026
Merged
Update the custom post list UI to look like the Posts screen#25300crazytonyli merged 4 commits intotrunkfrom
crazytonyli merged 4 commits intotrunkfrom
Conversation
Collaborator
Generated by 🚫 Danger |
|
Contributor
|
| App Name | WordPress | |
| Configuration | Release-Alpha | |
| Build Number | 31123 | |
| Version | PR #25300 | |
| Bundle ID | org.wordpress.alpha | |
| Commit | f7425ed | |
| Installation URL | 53ndaa1ll6slg |
Contributor
|
| App Name | Jetpack | |
| Configuration | Release-Alpha | |
| Build Number | 31123 | |
| Version | PR #25300 | |
| Bundle ID | com.jetpack.alpha | |
| Commit | f7425ed | |
| Installation URL | 5e1jp4iqaul80 |
Contributor
🤖 Build Failure AnalysisThis build has failures. Claude has analyzed them - check the build annotations for details. |
kean
approved these changes
Feb 25, 2026
| return nil | ||
| } | ||
| .sorted { $0.slug < $1.slug } | ||
| .sorted(using: KeyPathComparator(\.name)) |
Contributor
There was a problem hiding this comment.
Just checking – name instead of slug – is that intentional?
Contributor
Author
There was a problem hiding this comment.
Yes, it is. During my test, I noticed that some post type slugs do not quite match their names. The order here determines how the CPTs are presented on the list. I thought we should order by their visible name, instead of their invisible slug.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.





Description
This PR also adds a feature flag to show Posts and Pages that's backed by wordpress-rs. I plan to show them on XMLRPC disabled sites, which will be done separately.
Unlike the regular posts, the custom posts list now shows an "All" tab, which is similar to the wp-admin.