Repository navigation
Commit 05bb12b
committed
REST API: Remove unreachable featured media update code.
Remove the unreachable `featured_media` block from `WP_REST_Attachments_Controller::update_item()` and its PHPStan baseline entries. The local `$schema` variable is never assigned, and the parent controller already handles featured media updates.
Developed in: #13980
Props huzaifaalmesbah.
See #65817.
git-svn-id: https://develop.svn.wordpress.org/trunk@65187 602fd350-edb4-49c9-b593-d223f7449a821 parent 0e08beb commit 05bb12b
3 files changed
Lines changed: 0 additions & 18 deletions
File tree
- src/wp-includes/rest-api/endpoints
- tests/phpstan/baselines
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1006 | 1006 | | |
1007 | 1007 | | |
1008 | 1008 | | |
1009 | | - | |
1010 | | - | |
1011 | | - | |
1012 | | - | |
1013 | | - | |
1014 | | - | |
1015 | | - | |
1016 | | - | |
1017 | 1009 | | |
1018 | 1010 | | |
1019 | 1011 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | 36 | | |
42 | 37 | | |
43 | 38 | | |
| |||
0 commit comments