-
Notifications
You must be signed in to change notification settings - Fork 799
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
Top Posts Widget: provide defaults for newly added param. #15395
Conversation
$types was added in 8.4, but we did not add a default value when it's not provided. See #15109 for more details.
Caution: This PR has changes that must be merged to WordPress.com |
Thank you for the great PR description! When this PR is ready for review, please apply the Scheduled Jetpack release: May 5, 2020. |
Cherry-pick to |
Changes proposed in this Pull Request:
See #15109 for more details.
This was reported in 2860860-zen.
Testing instructions:
Jetpack_Top_Posts_Widget::get_by_views
with 2 parameters instead of 3.Proposed changelog entry for your changes: