[wp-trac] [WordPress Trac] #38490: Add settings to the `/wp/v2/settings` endpoint that are in the WordPress.com api

WordPress Trac noreply at wordpress.org
Wed Oct 26 21:58:03 UTC 2016


#38490: Add settings to the `/wp/v2/settings` endpoint that are in the
WordPress.com api
-----------------------------------------+--------------------------
 Reporter:  joehoyle                     |       Owner:  rachelbaker
     Type:  enhancement                  |      Status:  assigned
 Priority:  normal                       |   Milestone:  4.7
Component:  REST API                     |     Version:
 Severity:  normal                       |  Resolution:
 Keywords:  has-patch reporter-feedback  |     Focuses:
-----------------------------------------+--------------------------
Changes (by rachelbaker):

 * keywords:  has-patch => has-patch reporter-feedback


Comment:

 @joehoyle It looks like there are still some settings missing when I
 compare our settings with
 https://github.com/Automattic/jetpack/blob/1801d53/json-
 endpoints.php#L2443-L2495

 Isn't the idea to support the same core options as the Jetpack/.com API?
 After [attachment:38490.diff] we would still be missing support for the
 following options:
 {{{
                 'default_pingback_flag'
                 'blog_public'
                 'require_name_email'
                 'comment_registration'
                 'close_comments_for_old_posts'
                 'close_comments_days_old'
                 'thread_comments'
                 'thread_comments_depth'
                 'page_comments'
                 'comments_per_page'
                 'default_comments_page'
                 'comment_order'
                 'comments_notify'
                 'moderation_notify'
                 'comment_moderation'
                 'comment_whitelist'
                 'comment_max_links'
                 'moderation_keys'
                 'blacklist_keys'
                 'gmt_offset'

 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38490#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list