Make WordPress Core

Opened 9 years ago

Closed 8 years ago

Last modified 8 years ago

#43381 closed defect (bug) (fixed)

Remove 'category' parameter from category_description function.

Reported by: chetan200891 Owned by: SergeyBiryukov
Priority: normal Milestone: 5.1
Component: Taxonomy Version: 4.9.4
Severity: normal Keywords: has-patch
Cc: Focuses:

Description (last modified by SergeyBiryukov)

Based on #42771 term_description() no longer passes $taxonomy to
get_term_field(), the parameter is no longer needed and has been deprecated. So I think now we can remove 'category' parameter from category_description function.

Attachments (1)

43381.diff (514 bytes ) - added by chetan200891 9 years ago.
Created patch to remove 'category' parameter.

Download all attachments as: .zip

Change History (6)

@chetan200891
9 years ago

Created patch to remove 'category' parameter.

#1 @chetan200891
9 years ago

  • Keywords has-patch added

This ticket was mentioned in Slack in #core by chetan200891. View the logs.


8 years ago

#3 @SergeyBiryukov
8 years ago

  • Description modified (diff)
  • Milestone Awaiting Review5.0

#4 @SergeyBiryukov
8 years ago

  • Owner set to SergeyBiryukov
  • Resolutionfixed
  • Status newclosed

In 42890:

Taxonomy: In category_description(), don't pass the $taxonomy parameter to term_description().

The parameter was deprecated in [42368] and is now unused.

Props chetan200891.
Fixes #43381. See #42771.

#5 @johnbillion
8 years ago

  • Milestone 5.05.1
Note: See TracTickets for help on using tickets.