[wp-trac] [WordPress Trac] #39215: Support for string $args in wp_get_object_terms() broken in 4.7
WordPress Trac
noreply at wordpress.org
Fri Dec 9 20:24:03 UTC 2016
#39215: Support for string $args in wp_get_object_terms() broken in 4.7
-------------------------------------+------------------------------
Reporter: sstoqnov | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version: 4.7
Severity: critical | Resolution:
Keywords: has-patch needs-testing | Focuses:
-------------------------------------+------------------------------
Changes (by tyxla):
* keywords: has-patch 2nd-opinion needs-testing => has-patch needs-testing
Comment:
I've updated the patch, to use `wp_parse_args()` instead of `explode()`.
It's a minimal solution to support string `$args`, without default args.
To further clarify: prior to 4.7, default values were specified in the
`wp_parse_args()` call.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39215#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list