Skip to content

Commit b67813d

Browse files
authored
Merge pull request #11 from KitaitiMakoto/hal-links
Fix links property name in object documentation
2 parents 6597ad4 + b0c653b commit b67813d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

source/includes/_membership_plans.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Property | Type |
3535
`date_modified` | <code>datetime</code> | The date (in Atom format) when the membership plan object was last modified, in the local timezone.
3636
`date_modified_gmt` | <code>datetime</code> | The date (in Atom format) when the membership plan object was last modified, in UTC.
3737
`meta_data` | <code>array</code> | Holds any WordPress meta data set on the plan. Each array item has an "id" _`(integer)`_, a "key" _`(string)`_ and a "value" (either a _`boolean`_, an _`integer`_, or _`string`_, which could also represent serialized data).
38-
`links` | <code>array</code> | An array of items linking to related objects accessible through the REST API.
38+
`_links` | <code>array</code> | An array of items linking to related objects accessible through the REST API.
3939

4040

4141
**Notes:**

source/includes/_user_memberships.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Property | Type | Description
3030
`view_url` | <code>string</code> | _`read-only`_<br><br>URL pointing to the site's Members Area accessible to the membership's owner.
3131
`profile_fields` | <code>array&#124;object</code> | Holds any profile fields set on the membership. Each array item has a "slug" _`(string)`_ and a "value" (either a _`boolean`_, an _`integer`_, _`float`_, _`string`_, or _`array`_).
3232
`meta_data` | <code>array&#124;object</code> | Holds any WordPress meta data set on the membership. Each array item has an "id" _`(integer)`_, a "key" _`(string)`_ and a "value" (either a _`boolean`_, an _`integer`_, or _`string`_, which could also represent serialized data).
33-
`links` | <code>array</code> | _`read-only`_<br><br>An array of items linking to related objects accessible through the REST API.
33+
`_links` | <code>array</code> | _`read-only`_<br><br>An array of items linking to related objects accessible through the REST API.
3434

3535

3636
**Notes:**

0 commit comments

Comments
 (0)