-
Notifications
You must be signed in to change notification settings - Fork 156
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
Added ability to view all post types when Pulling from an External Connection #1002
Merged
Merged
Changes from 17 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
4c98447
Make provision for post and page post types within args
chigozieorunta 1edf95e
Make post and page types available
chigozieorunta 03a25b0
Show View All for all connection types
chigozieorunta e1941b9
Merge branch 'develop' of https://github.com/10up/distributor into fe…
mehul0810 9fc9710
improve the way we set pull post type
mehul0810 96632aa
improve the way data is pulled
mehul0810 1697815
improve some phpcs errors
mehul0810 d39eb31
resolve phpcs misalignment issue
mehul0810 59915fc
Merge branch 'develop' into feature/861
ravinderk bdc9b85
Merge branch 'develop' into feature/861
mehul0810 58471b8
use post type variable
mehul0810 342cb0c
fix the operand type error
mehul0810 5332b6c
add support for multiple pull errors
mehul0810 e474219
improve the logic for view all
mehul0810 dbc5104
resolve fatal error
mehul0810 5a11779
reverted pull error change
mehul0810 75a23d7
revert change to the removed code
mehul0810 7cdc43b
Resolve array to string conversion notices.
peterwilsoncc ce538c4
Merge branch 'develop' into feature/861
Sidsector9 253cf82
revert the default post type to just post
mehul0810 ff8b199
Merge branch 'develop' into feature/861
Sidsector9 2d90008
Merge branch 'develop' into feature/861
peterwilsoncc File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The default is set to
post
inget_pull_content_list_args()
so it's unlikely this will ever be set to[post, page]
.I included it back when I was rewriting this as a safety check just in case someone messes with the URL.
Was the intent with this change to default to the View All view? For internal connections Distributor offers a View All view but defaults to posts only, so I think it's best to match that for the time being.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@peterwilsoncc Replaced it to show only the
post
by default.The intent with this change was to get the list of post type that needs to be listed or else default to
post
. But, we are not defaulting the post type filter toView All
. It is stillPost