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

WordPress Trac noreply at wordpress.org
Thu May 18 22:08:02 UTC 2017


#40702: Add WordCamps and meetup events to the News Dashboard widget
----------------------------+-----------------------------------
 Reporter:  iandunn         |       Owner:
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  4.8
Component:  Administration  |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  javascript, rest-api
----------------------------+-----------------------------------

Comment (by coreymckrill):

 [attachment:40702-request-args.diff] changes the `get_request_url` method
 to `get_request_args`, which returns an array instead of a string. This
 allows us to separate the Events API endpoint URL from the request args in
 `wp_remote_get()`.  This will by DRYer in the case that the request args
 are ever used in another context, and also allows the args to be filtered
 on the `http_request_args` hook.

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


More information about the wp-trac mailing list