[wp-trac] [WordPress Trac] #40702: Add WordCamps and meetup events to the News Dashboard widget

WordPress Trac noreply at wordpress.org
Fri May 12 17:33:14 UTC 2017


#40702: Add WordCamps and meetup events to the News Dashboard widget
-------------------------------------------------+-------------------------
 Reporter:  iandunn                              |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  4.8
Component:  Administration                       |     Version:  trunk
 Severity:  normal                               |  Resolution:
 Keywords:  needs-dev-note has-patch needs-      |     Focuses:
  unit-tests dev-feedback                        |  javascript, rest-api
-------------------------------------------------+-------------------------

Comment (by jnylen0):

 Can we please change the namespace of this new API endpoint from
 `wp/dashboard/v1` to `wp-dashboard/v1`?  The extra slash seems contrary to
 the recommendations at https://developer.wordpress.org/rest-api/extending-
 the-rest-api/adding-custom-endpoints/#namespacing:

 > Namespaces in general should follow the pattern of `vendor/v1`, where
 vendor is typically your plugin or theme '''slug''', and `v1` represents
 the first version of the API.

 Also, at the very least this is going to break some stuff on WP.com if we
 try to enable this endpoint there.  It wouldn't surprise me if there is
 other code out there that relies on a namespace having only a single
 slash.

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


More information about the wp-trac mailing list