-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
[Sitebars endpoint] Add tests for slashing behavior #24785
Conversation
Size Change: 0 B Total Size: 1.17 MB ℹ️ View Unchanged
|
@adamziel the new test seems to fail. |
@@ -378,6 +378,60 @@ public function test_update_item() { | |||
); | |||
} | |||
|
|||
/** | |||
* |
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.
Please write something here.
1abeb61
to
6f73eda
Compare
The test fails because of ">" character in the input. It should most definitely be addressed, but is not trivial and it also seems out of scope for this PR. I removed this case from here and added another task to the list. |
Would you mind re-reviewing @draganescu? |
Which issue # is that? |
@TimothyBJacobs I was lazy and added it to the list in this issue to address later this week :) #24530 :
|
Got it! |
6f73eda
to
c11eabd
Compare
Description
This PR adds coverage for the correct usage of
wp_slash
inupdate_item
method as per #24290 (review).How has this been tested?
Confirm all checks pass on this PR.
Types of changes
Non-breaking change
Checklist: