FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fixed according to TimothyBJacobs review by sorenbronsted · Pull Request #244 · WordPress/wordpress-develop · GitHub

Fixed according to TimothyBJacobs review - #244

Closed
sorenbronsted wants to merge 2 commits into
WordPress:masterfrom
sorenbronsted:48818
Closed

Fixed according to TimothyBJacobs review#244
sorenbronsted wants to merge 2 commits into
WordPress:masterfrom
sorenbronsted:48818

Conversation

Copy link
Copy Markdown

Fixed according to TimothyBJacobs

Trac ticket: https://core.trac.wordpress.org/ticket/48818

public function rest_property_provider() {
return array(
array(
(object) array(

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

These don't need to be casted to object. In essentially all cases, the API passes associative arrays. See WP_REST_Request::parse_json_params.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL