[wp-trac] [WordPress Trac] #35346: WP_Term breaks type-hints for stdClass
WordPress Trac
noreply at wordpress.org
Thu Jan 7 15:30:04 UTC 2016
#35346: WP_Term breaks type-hints for stdClass
--------------------------+----------------------
Reporter: exz | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Taxonomy | Version: 4.4
Severity: normal | Resolution: wontfix
Keywords: close | Focuses:
--------------------------+----------------------
Changes (by boonebgorges):
* status: new => closed
* resolution: => wontfix
* milestone: Awaiting Review =>
Comment:
Thanks for the ticket, @exz . The consensus here and in Slack seems to be
that type-hinting for `stdClass` is not something we want to support.
Documentation has always noted that an `object` (not a `stdClass`) would
be returned here.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35346#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list