-
Notifications
You must be signed in to change notification settings - Fork 7
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
Add event connections to attendees types. #29
Closed
justlevine
wants to merge
19
commits into
the-events-calendar:master
from
justlevine:feature/attendee-event-connection
Closed
Add event connections to attendees types. #29
justlevine
wants to merge
19
commits into
the-events-calendar:master
from
justlevine:feature/attendee-event-connection
Conversation
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
…otfix-comma Removes extraneous comma to prevent a silent PHP error.
bordoni
requested changes
Apr 9, 2021
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.
Suggested a couple small things.
includes/data/connection/class-wooattendee-connection-resolver.php
Outdated
Show resolved
Hide resolved
includes/data/connection/class-wooattendee-connection-resolver.php
Outdated
Show resolved
Hide resolved
includes/data/connection/class-wooattendee-connection-resolver.php
Outdated
Show resolved
Hide resolved
includes/data/connection/class-rsvpattendee-connection-resolver.php
Outdated
Show resolved
Hide resolved
includes/data/connection/class-paypalattendee-connection-resolver.php
Outdated
Show resolved
Hide resolved
includes/data/connection/class-paypalattendee-connection-resolver.php
Outdated
Show resolved
Hide resolved
…m/justlevine/ql-events into feature/attendee-event-connection
Co-authored-by: Gustavo Bordoni <[email protected]>
….php Co-authored-by: Gustavo Bordoni <[email protected]>
….php Co-authored-by: Gustavo Bordoni <[email protected]>
….php Co-authored-by: Gustavo Bordoni <[email protected]>
…r.php Co-authored-by: Gustavo Bordoni <[email protected]>
Co-authored-by: Gustavo Bordoni <[email protected]>
Co-authored-by: Gustavo Bordoni <[email protected]>
…ver.php Co-authored-by: Gustavo Bordoni <[email protected]>
Co-authored-by: Gustavo Bordoni <[email protected]>
…ver.php Co-authored-by: Gustavo Bordoni <[email protected]>
Requested changes merged. |
@justlevine @bordoni This functionality was implemented in #46 |
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.
Adds event connections to the various attendee types. Closes #24 .
Event
type hasrSVPAttendees
,payPalAttendees
, andwooAttendees
.rSVPAttendees
,payPalAttendees
, andwooAttendees
can now be filtered bywhere : { eventsIn: $id }
.Note:
class-{type}attendee.php
andclass-{type}attendee-resolver.php
files were created for each attendee type. This isn't very DRY, but was the best I could do without fully changing attendee over to aninterface
.class-attendee-resolver.php
was never actually included before. There's a code segment from @kidunot89 that I left in, because I'm not really sure of the purpose/its effect. If it isn't necessary, it should be removed.composer dump-autoload
was generatingplatform_check.php
. I manually removed it, but to be safe, a maintainer should probably regenerate the autoload.