-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
distributable_post_types filter is not respected in Pull UI screen #720
Comments
@jmslbam There is actually a different filter in place to modify the post types available for pulling: I can understand the confusion between that filter and |
Labeling this for docs so we can add more clarity to the docblock on |
Ah thank your for pointing the other filter out! I feel like This makes the filter consistent in their naming convention and logic. Not having the word "push" or "pull" in it, makes it look like a generic filter that goes both ways. We can deprecate the old filters with If this new nameing convention feels ok, I can patch up a PR somewhere this month. |
@jmslbam I think this all sounds correct and the right approach to me. If you have time to put together a PR, I'd be happy to review it. Thanks! |
I'm stil up for this, but the Distributor project I'm working on has some little hickups :) when it's live I have some spare time! |
Describe the bug
while filtering the permited post types via
distributable_post_types
, I noticed that the dropdown in de Pull UI has all the post types in the dropdown.Steps to Reproduce
Filter the permited post types:
Go to the Pull overview page en check the dropdown.
Expected behavior
I expected only the Post post type in the dropdown.
Environment information
Version | 1.6.2
Override Author Byline: Yes
Media Handling: Featured image and attached images
Internal Connections |
Maas Wijkontwikkeling: - Blog ID: 2 - URL: https://waal.local/maasontwikkel - Registered: 2021-02-01 13:52:41 - Last updated: 2021-02-13 17:09:18
Woonslim: - Blog ID: 3 - URL: https://waal.local/woonslim - Registered: 2021-02-01 13:52:56 - Last updated: 2021-02-03 08:33:12
External Connections | N/A
Additional context
Thank you!
The text was updated successfully, but these errors were encountered: