Make WordPress Core

Changes between Initial Version and Version 3 of Ticket #39215


Ignore:
Timestamp:
12/09/2016 08:25:30 PM (7 years ago)
Author:
ocean90
Comment:

Does someone want to work on a unit test for this?

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #39215

    • Property Keywords has-patch needs-unit-tests added
    • Property Milestone changed from Awaiting Review to 4.7.1
    • Property Severity changed from normal to critical
  • Ticket #39215 – Description

    initial v3  
    11It appears that `wp_get_object_terms()` no longer supports the string version of the `$args` parameter. Prior to WordPress 4.7 it used to support both string and array values, and there might be multiple plugins and themes that rely on this fact. It's also documented as `string|array` in the Codex.
    22
    3 After digging a bit I found that this regression has been introduced in https://core.trac.wordpress.org/changeset/38667 which removed a lot of redundant code.
     3After digging a bit I found that this regression has been introduced in [38667] which removed a lot of redundant code.