Opened 7 years ago
Last modified 7 years ago
#39653 new enhancement
WP_Http_Cookie changes
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | |
Component: | HTTP API | Keywords: | reporter-feedback |
Focuses: | Cc: |
Description
- The WordPress convention is to use underscores instead of camelCase for function and method change
- add new param to return array in get_attributes method
- change parse_url to wp_parse_url
Attachments (1)
Note: See
TracTickets for help on using
tickets.
For 1) see https://make.wordpress.org/core/handbook/contribute/code-refactoring/.
Could you explain why you want to have
name
andvalue
also be returned byget_attributes()
and why the use ofwp_parse_url()
is necessary here?