Conversation
… visible post types
|
@iamchrissmith it looks like there's a merge conflict here. Can you make sure it will merge cleanly? |
There was a problem hiding this comment.
Can't we just do $types = get_post_types( array( 'show_in_rest' => true ), 'name' )
|
@danielbachhuber yes, that works a lot better. Merge conflicts also resolved (I hope) |
|
@iamchrissmith will you be adding a test for this? |
|
I added a test for pages copied from the |
|
Thanks for your work on this, @iamchrissmith! I've started a new PR with your branch, and fixed up the tests: #2155 |
reported in #2128 to check user against all visible post types