Opened 6 years ago
Closed 6 years ago
#45124 closed defect (bug) (fixed)
Typo in REST API Post controller phpunit test: youseeme post type never unregister because of typo.
Reported by: | rahulsprajapati | Owned by: | rahulsprajapati |
---|---|---|---|
Milestone: | 5.1 | Priority: | normal |
Severity: | minor | Version: | 4.7 |
Component: | REST API | Keywords: | has-patch good-first-bug commit |
Focuses: | Cc: |
Description
Post type youseeme
registered here during setup of phpunit test: https://core.trac.wordpress.org/browser/trunk/tests/phpunit/tests/rest-api/rest-posts-controller.php?rev=43571#L78
And try to unregister it here https://core.trac.wordpress.org/browser/trunk/tests/phpunit/tests/rest-api/rest-posts-controller.php?rev=43571#L3996 with youseeeme
post type.
Here youseeeme
should be youseeme
Attachments (2)
Change History (11)
#3
follow-up:
↓ 5
@
6 years ago
- Keywords needs-refresh good-first-bug added
- Owner set to rahulsprajapati
- Status changed from new to assigned
- Version changed from trunk to 4.7
Thanks for the ticket, @rahulsprajapati. And welcome to Trac!
I am marking this as a good-first
bug` and assigning it to you to mark it claimed.
When you have a chance, can you refresh the patch against the 5.0 branch?
#5
in reply to:
↑ 3
@
6 years ago
- Keywords needs-refresh removed
Replying to desrosj:
Thanks for the ticket, @rahulsprajapati. And welcome to Trac!
I am marking this as a
good-first
bug` and assigning it to you to mark it claimed.
When you have a chance, can you refresh the patch against the 5.0 branch?
Hello @desrosj
45124.1.diff is refreshed patch against 5.0 branch.
Fix typo in _unregister_post_type.