WordPress.org

Make WordPress Core

Timestamp:
12/04/2017 09:02:10 PM (4 years ago)
Author:
boonebgorges
Message:

get_the_category_by_ID() should be taxonomy-agnostic.

Prior to 4.9, this function was accidentally taxonomy-agnostic in most cases.
The fix in [40979] caused a regression in this function. For backward
compatibility, we make it explicit that the query is by ID only.

See #42771.

File:
1 added

Note: See TracChangeset for help on using the changeset viewer.