Make WordPress Core

Changeset 42371


Ignore:
Timestamp:
12/04/2017 09:59:33 PM (7 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.

Merges [42367] to the 4.9 branch.

See #42771.

Location:
branches/4.9
Files:
2 edited
1 copied

Legend:

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