Skip to content

RestrictedFunctionsSniff: Change default message of switch_to_blog()#649

Merged
rebeccahum merged 2 commits into
developfrom
switch_to_blog_messaging
Apr 15, 2021
Merged

RestrictedFunctionsSniff: Change default message of switch_to_blog()#649
rebeccahum merged 2 commits into
developfrom
switch_to_blog_messaging

Conversation

@rebeccahum

@rebeccahum rebeccahum commented Mar 31, 2021

Copy link
Copy Markdown
Contributor

Fixes #643.

@rebeccahum rebeccahum requested a review from a team as a code owner March 31, 2021 21:36
Comment thread WordPressVIPMinimum/Sniffs/Functions/RestrictedFunctionsSniff.php

@jrfnl jrfnl left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

As per #643 (comment), the change for this notification from errorto warning can be safely added to this PR.

Other than that, looks good.

@rebeccahum rebeccahum requested a review from jrfnl April 15, 2021 15:12
@rebeccahum rebeccahum merged commit 0c9df2a into develop Apr 15, 2021
@rebeccahum rebeccahum deleted the switch_to_blog_messaging branch April 15, 2021 15:23
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.

switch_to_blog: Change message to reflect WordPress-VIP-Go ruleset and downgrade to "Warning"

3 participants