[wp-trac] [WordPress Trac] #48885: REST API: Support reading public settings, implement context handling
WordPress Trac
noreply at wordpress.org
Thu Jul 29 21:32:54 UTC 2021
#48885: REST API: Support reading public settings, implement context handling
-------------------------------------------------+-------------------------
Reporter: scruffian | Owner:
| spacedmonkey
Type: enhancement | Status: assigned
Priority: normal | Milestone: Future
| Release
Component: REST API | Version: 3.7
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests 2nd- | Focuses: rest-api
opinion |
-------------------------------------------------+-------------------------
Changes (by spacedmonkey):
* focuses: => rest-api
* version: => 3.7
Comment:
@TimothyBlynJacobs I have updated [https://github.com/WordPress/wordpress-
develop/pull/534 #534] with unit tests. Can you review again?
I think there is a good chance we could get this in WordPress 5.9.
One question is, should we make some of the none sensitive settings
public. Things you can easily workout.
Examples could be public
- name
- description
- url
- home
- gmt_offset
- timezone_string
- language
- posts_per_page
Example that could behind edit_posts capabilty
- default_category
- default_post_format
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48885#comment:35>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list