Commit 692a5b1
committed
REST API: Rename post link relation in media endpoint to wp:attached-to
By adding the https://api.w.org/ prefix and using a more descriptive name for the link relation, this change creates greater clarity for this part of the API. Note that the renaming of this property is safe, as the API change has not yet made it into a final release.
Follow-up to [60893].
Props andrewserong, mukesh27, ramonopoly, timothyblynjacobs.
Fixes #64034.
git-svn-id: https://develop.svn.wordpress.org/trunk@60916 602fd350-edb4-49c9-b593-d223f7449a821 parent 2de7ed3 commit 692a5b1
File tree
2 files changed
+6
-6
lines changed- src/wp-includes/rest-api/endpoints
- tests/phpunit/tests/rest-api
2 files changed
+6
-6
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1022 | 1022 | | |
1023 | 1023 | | |
1024 | 1024 | | |
1025 | | - | |
| 1025 | + | |
1026 | 1026 | | |
1027 | 1027 | | |
1028 | 1028 | | |
| |||
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1887 | 1887 | | |
1888 | 1888 | | |
1889 | 1889 | | |
1890 | | - | |
| 1890 | + | |
1891 | 1891 | | |
1892 | 1892 | | |
1893 | | - | |
1894 | | - | |
1895 | | - | |
1896 | | - | |
| 1893 | + | |
| 1894 | + | |
| 1895 | + | |
| 1896 | + | |
1897 | 1897 | | |
1898 | 1898 | | |
1899 | 1899 | | |
| |||
0 commit comments