8000 Update changelog with changes since beta14 · WP-API/WP-API@b4706fc · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Sep 24, 2018. It is now read-only.

Commit b4706fc

Browse files
committed
Update changelog with changes since beta14
1 parent dc69638 commit b4706fc

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

CHANGELOG.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,59 @@
11
# Changelog
22

3+
## 2.0 Beta 15.0 (October 07, 2016)
4+
5+
- Introduce support for Post Meta, Term Meta, User Meta, and Comment Meta in
6+
their parent endpoints.
7+
8+
For your meta fields to be exposed in the REST API, you need to register
9+
them. WordPress includes a `register_meta()` function which is not usually
10+
required to get/set fields, but is required for API support.
11+
12+
To register your field, simply call register_meta and set the show_in_rest
13+
flag to true. Note: register_meta must be called separately for each meta
14+
key.
15+
16+
(props @rmccue, @danielbachhuber, @kjbenk, @duncanjbrown, [#2765][gh-2765])
17+
18+
- Introduce Settings endpoint.
19+
20+
Expose options to the REST API with the `register_setting()` function, by
21+
passing `$args = array( 'show_in_rest' => true )`. Note: WordPress 4.7 is
22+
required. See changeset [38635][https://core.trac.wordpress.org/changeset/38635].
23+
24+
(props @joehoyle, @fjarrett, @danielbachhuber, @jonathanbardo,
25+
@greatislander, [#2739][gh-2739])
26+
27+
- Attachments controller, change permissions check to match core.
28+
29+
Check for the `upload_files` capability when creating an attachment.
30+
31+
(props @nullvariable, @adamsilverstein, [#2743][gh-2743])
32+
33+
- Add `?{taxonomy}_exclude=` query parameter
34+
35+
This mirrors our existing support for ?{taxonomy}= filtering in the posts
36+
controller (which allows querying for only records with are associated with
37+
any of the provided term IDs for the specified taxonomy) by adding an
38+
equivalent `_exclude` variant to list IDs of terms for which associated posts
39+
should NOT be returned.
40+
41+
(props @kadamwhite, [#2756][gh-2756])
42+
43+
- Use `get_comment_type()` when comparing updating comment status.
44+
45+
Comments having a empty `comment_type` within WordPress bites us again.
46+
Fixes a bug where comments could not be updated because of bad comparison
47+
logic.
48+
49+
(props @joehoyle, [#2753][gh-2753])
50+
51+
[gh-2765]: https://github.com/WP-API/WP-API/issues/2765
52+
[gh-2739]: https://github.com/WP-API/WP-API/issues/2739
53+
[gh-2743]: https://github.com/WP-API/WP-API/issues/2743
54+
[gh-2756]: https://github.com/WP-API/WP-API/issues/2756
55+
[gh-2753]: https://github.com/WP-API/WP-API/issues/2753
56+
357
## 2.0 Beta 14.0 (September 30, 2016)
458

559
- Add support for password protected posts

0 commit comments

Comments
 (0)
0