Skip to content
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

Contact sync #26

Merged
merged 14 commits into from
Feb 21, 2024
Merged

Contact sync #26

merged 14 commits into from
Feb 21, 2024

Conversation

nerijuszaniauskas
Copy link
Collaborator

@nerijuszaniauskas nerijuszaniauskas marked this pull request as ready for review February 20, 2024 08:22
@nerijuszaniauskas nerijuszaniauskas requested a review from a team as a code owner February 20, 2024 08:22
omnisend/class-omnisend-core-bootstrap.php Show resolved Hide resolved
$users = $wp_user_query->get_results();

if ( empty( $users ) ) {
wp_clear_scheduled_hook( OMNISEND_CORE_CRON_SYNC_CONTACT );
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would suggest to add log

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is normal situation when all users are synced. We decided do not have UI and plugin does not have logs like Woo plugin. What log and where you expect?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe adding logs now will save us time later, when we would introduce logs in UI.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was thinking about that, but decided not to do, as this will increase scope. Let's leave for later.

omnisend/readme.txt Outdated Show resolved Hide resolved
rokeras
rokeras previously approved these changes Feb 20, 2024
@rokeras rokeras self-requested a review February 20, 2024 13:03
@nerijuszaniauskas nerijuszaniauskas merged commit c086fde into main Feb 21, 2024
1 check passed
@nerijuszaniauskas nerijuszaniauskas deleted the contact-sync branch February 21, 2024 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants