desrosj
aacf626adf
Docs: Remove an empty line between @param and @return tags in some newly added REST API methods, per the documentation standards.
...
Follow-up to [48242], [49925], [51003], [51021].
Props SergeyBiryukov.
Merges [51289] to the 5.8 branch.
See #52628 , #53461 .
Built from https://develop.svn.wordpress.org/branches/5.8@51317
git-svn-id: http://core.svn.wordpress.org/branches/5.8@50926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-02 19:04:56 +00:00
desrosj
f51b2d6845
Docs: List the expected type first instead of WP_Error in some REST API methods added in 5.8.
...
Follow-up to [46696], [49929], [50995], [51021].
Props SergeyBiryukov.
Merges [51286] to the 5.8 branch.
See #52628 , #53461 .
Built from https://develop.svn.wordpress.org/branches/5.8@51316
git-svn-id: http://core.svn.wordpress.org/branches/5.8@50925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-02 19:03:57 +00:00
desrosj
20b93039f3
Docs: Add missing @since tags for some REST API methods added in 5.8.
...
Follow-up to [50995], [51021].
Props SergeyBiryukov.
Merges [51280] to the 5.8 branch.
See #52628 , #53461 .
Built from https://develop.svn.wordpress.org/branches/5.8@51311
git-svn-id: http://core.svn.wordpress.org/branches/5.8@50920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-07-02 18:55:00 +00:00
iandunn
479e9847ed
Block Editor: Move caching to endpoint for unique responses.
...
Now that the pattern API request includes the locale and version, the cache key needs to contain a hash of the query args.
Props ocean90, dd32, timothyblynjacobs
Fixes #53435
Built from https://develop.svn.wordpress.org/trunk@51208
git-svn-id: http://core.svn.wordpress.org/trunk@50817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-06-22 21:24:58 +00:00
iandunn
0f249041f9
Block Editor: Send locale, version with remote pattern requests.
...
This information is needed by the w.org API for translation and caching.
Props dd32, ryelle, tellyworth
See #53435
Built from https://develop.svn.wordpress.org/trunk@51206
git-svn-id: http://core.svn.wordpress.org/trunk@50815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-06-22 21:21:57 +00:00
desrosj
ef4b42b03b
Coding Standards: Apply an alignment fix.
...
Follow up to [51021].
See #53246 .
Built from https://develop.svn.wordpress.org/trunk@51093
git-svn-id: http://core.svn.wordpress.org/trunk@50702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-06-08 13:22:57 +00:00
ryelle
56ca42b5d9
Block Editor: Add support for the pattern directory.
...
Add an endpoint for fetching block patterns from WordPress.org, and load the block patterns from this new API. Remove the block patterns that have already been moved to WordPress.org/patterns.
Props ryelle, iandunn, youknowriad, timothyblynjacobs.
Fixes #53246 .
Built from https://develop.svn.wordpress.org/trunk@51021
git-svn-id: http://core.svn.wordpress.org/trunk@50630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-05-26 01:11:59 +00:00