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

Reworked wp_mail_from and WPCS #2996

Merged

Conversation

andrewlimaza
Copy link
Contributor

  • ENHANCEMENT: Added a fallback to get the site URL from the database should the SERVER_NAME parameter not be available in certain cases like using WPCLI and some other instances.

  • REFACTOR: Applied WPCS to pmpro_wp_mail_from function

All Submissions:

Other information:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you successfully run tests with your changes locally?

Changelog entry

Enter a summary of all changes on this Pull Request. This will appear in the changelog if accepted.

* ENHANCEMENT: Added a fallback to get the site URL from the database should the SERVER_NAME parameter not be available.

* REFACTOR: Applied WPCS to pmpro_wp_mail_from function
@dparker1005 dparker1005 added this to the 3.1 milestone Jun 11, 2024
@andrewlimaza andrewlimaza marked this pull request as ready for review June 24, 2024 08:49
@dparker1005 dparker1005 changed the base branch from dev to v3.1 June 25, 2024 18:54
@dparker1005 dparker1005 merged commit c1597fc into strangerstudios:v3.1 Jun 25, 2024
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.

None yet

2 participants