[wp-trac] [WordPress Trac] #35346: WP_Term breaks type-hints for stdClass
WordPress Trac
noreply at wordpress.org
Thu Jan 7 13:53:28 UTC 2016
#35346: WP_Term breaks type-hints for stdClass
--------------------------+------------------------------
Reporter: exz | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version: 4.4
Severity: normal | Resolution:
Keywords: close | Focuses:
--------------------------+------------------------------
Comment (by nerrad):
I agree with @johnbillion here. In general I don't think client code
should be typehinting stdClass because that's really brittle. stdClass is
like a placeholder for better things. So I also favor a wontfix for this
ticket.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35346#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list