Opened 8 years ago
Closed 8 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 |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.1 |
| Component: | REST API | Version: | 4.7 |
| Severity: | minor | Keywords: | has-patch good-first-bug commit |
| Cc: | Focuses: |
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
@
8 years ago
- Keywords needs-refresh good-first-bug added
- Owner set to
- Status new → assigned
- Version trunk → 4.7
Thanks for the ticket, @rahulsprajapati. And welcome to Trac!
I am marking this as a good-firstbug` 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
@
8 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-firstbug` 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.